Node-RED nodes for hubitat

is there a less clunkier way of doing this set of rules?

I want the outside light to come on and dusk at 1% and go off at dawn, however I have a motion sensor outside, that I want to use to increase the outside light to 100% once it's been triggered, but only if the light is on (so after dusk) then go down to 1% when motion becomes inactive.

1 Like