I’m creating a piston to run at a certain time which will turn the lights off. But in most cases I end up turning the lights off using a Alexa routine before bed. So question is, should I check to see if lights are on before turning them off? if they are already off, what will sending another off command do?
Turning off devices, should I check if they are on first
bobbles
#2
If the lights are already off, and command optimisation is enabled which it is by default, then as long as ST and therefore webCoRE know it is off, the command will not be sent.
Even if it is sent and the light is already off it will not matter. It will just be an off command to a switch that is already off.