I got a Smarting hub for Christmas and have played with it since then. For my first automation I am trying to get the bathroom light to turn on.
What I am trying to do …
I have a motion sensor in our Master Bedroom hall. When it is triggered between certain hours (during the night), I want the bathroom light to go on. When I go back to bed (going past the sensor a second time) it will turn the light off.
summarized - I am trying to get a single motion sensor to turn light on if off and if off turn it on.