Is there a way to use wildards in sensors/Switches name in scripts?
I have 4 PIR sensors all names PIR_ and a blocky script that take action base don security level
actually I have to add few IF PIR_Sala = ON OR PIR_Camera = on .... etc etc.
but I was wondering if it's possibile to use something like.... if PIR_* = ON Then....
I tried in LUA, but of course it wasn't succesful

ciao
M