I have about 10 zwave light switches in my basement. I have created a virtual switch called Basement Lights.
I have created 2 routines for this switch to trigger
bsment lights on - which is set to turn all 10 lights “ON” when virtual switch Basement Lights is turned on
bsment lights off - which is set to turn all 10 lights “OFF” when virtual switch Basement Lights is turned off
This works fine as long a smartthings (or alexa) control everything. However…
If any of the basement lights has been turned on manually at the physical switch, while the Basement Lights switch was off (which happens all the time) then if you go to the virtual switch Basement Lights in smartthings and hit “off” or if you tell alexa to turn the basement lights off, nothing happens to any light that was turned on manually. Seems to be because the virtual switch is already in the “off” postion, that neither smartthings nor alexa will actually send the off command to the switch that it already thinks is off. The only work around to this is to say (or do in smartthings) Basement lights on, wait for them all to come on and then say basement lights off and then they all go off. I realize that is a workable work around and I realize that my desire to turn all the basement lights off from upstairs before I go to bed rather the walking down there to see what has been left on is lazy (but isn’t that part of the point of home automation). But I am wondering if there is a better way to do this so that I don’t have to trigger the virtual switch Basement Lights “on” first, thus turning all the lights on, in order to be able to them turn them off with the Basement Lights off command.
Have I missed something, or is this just the way it is when trying to use a virtual switch to control devices that can also be controlled physically outside of ST?