I’m very green, maybe not as green as my new HA Green, but green…
I have one basic Node-Red automation at the moment that I’ve repurposed multiple times for different areas of the home. [motion detected → turn on a light, wait 3 minutes, checks if any motion is detected → dims light to 50%, waits 60 seconds → turns off light]
I have incorporated it to also turn the light off if turned on via the app, or voice assistant.
Now I’m trying to add a “Guest Mode” button, that I can enable and when enabled I can use in a Node Red automation to not dim a light, not turn a light off. I thought I had it, but now, after adding a “Guest Mode” boolean and adding that into Node Red, the light turns on, stays on for 1 minute, turns off, then at 3 minutes it turns back on at 50%, and then after 60 more seconds it turns off. I feel I’ve placed the “Guest Mode” current state in the wrong place. What am I doing wrong?
original automation:
updated automation: