Is there a way to check current status for a contact switch in smart lighting.
For example, if I open a door at 8:00pm is there a way to set a virtual switch at 10:00pm based on it still being open?,…will then use it with the virtual switch to trigger a message with Alexa to close the door.
It doesn’t seem to work, even though the associated contact switch is showing open at 10:00pm in My Home. The smart lighting routine to set the switch doesn’t execute.
I think I can do it with core, but wanted something more basic.