Appreciate your help setting a Reactor so that a Dimmer enters to 2 different light levels based on Day or Night time when triggered by an armed Motion sensor.
Use Case:
I have a Dimmable Light and a Motion Sensor.
I have a Reactor expression saved called current level so that I can return to the previous level when the motion has stopped or timed out. This is working but I’d like to add more logic -
During daylight hours I would like to set the Dimmer to 100% and then return to previous level.
During the night I would like to set the Dimmer to 50% and then return to previous level.