I am having an issue with one of my automations. When it runs, it executes the code in the ‘then’ section, and also executed the code in the ‘else’ section. This code is to turn on a lightstrip in the morning. I have a simple boolean switch, which if ‘on’ will not turn on the lightstrip. I want the boolean to be set back to ‘off’, so the next day the lightstrip will turn on.
What is happening when this automation runs when the boolean is set to ‘on’ is:
The boolean is set to off
The lightstrip turns on
It seems like such a simple thing, but I can’t figure out what is going on. Am I missing something completely obvious?
Oh wow. I was only looking at the visual editor for the entire automation and not the Yaml. I swear that in the visual editor, there is only one main if/then action. In Yaml there are two. It seems I figured out the problem and can fix it in Yaml, but wow that is weird. It must be some missed cleanup from the workday sensor that was changed in last months release.