Hi, I made in helpers a group with all the lamps of my living room. So if 1 or more lamps are on, then the group is on. If all the lamps are off, then the group is off.
Now I like to use that group status in a script, to detect if all the lamps in my living room are off. But I don’t find a way to do that.
Can somebody point me in the right direction how to do it.
Many thanks
So, I like to test that group status in a script or automation and if all the lights are off => then put a scene of lights on. If there is 1 or more lights on => put all the lights off.
I use the group status on dashboard, that is not the problem.
I like to use it in a script, If that is possible !