On the network or not ? And who?

Hello,

2 questions…

Can I determine if somebody is on my local network (so access of HA inside or outside my house) ?

How can I make a conditional card for one (or more) specific user(s) ?

Thanks !

Nevermind, found the state switch card that solves the problem.