I am looking to change the state of a virtual switch the FIRST time a physical button is pushed, or a physical switch is changed position, then allow that same switch to be used for other functions during a set timer period, where the first action will be ignored.
Hue bulbs are being controlled by a motion sensor.
Person flicks switch
Hue bulbs are the controlled (On / Off) from the same switch until switch inst used for 30 minutes
Hue resumes being controlled by motion
It could be that its late in the week, and I cant think, but I don’t see any examples of how this can be done with a smartapp and wanted to engage the community. Any response would be appreciated