If you write your “global” variable to a local one, in the scope where you create the Pfset, then Pfset functions can see it:
(
var lightsAddr = ~lightsAddr;
Pfset(
{lightsAddr.postln},
Pbind(\dur,1,\note,Pseq((0..1))),
{lightsAddr.postln}
).play;
)