I’m at a bit of a loss, my ‘washer complete’ notification automation recently stopped working when the washer state changes to ‘Finished’… I can check the ‘Traces’ and the little blue UI banner shows “triggered”, but the trace generated shows that none of the blocks were executed. This was working, but seems to have broken with a recent update. Am I missing something to get this to trigger properly? I can see the entity state changes in history, but none of the available states show up as options when creating the automation trigger… it’s like it won’t acknowledge the other states exist.
You *might want to supply the entire automation. Taking your statement at face value, the trigger may have worked and nothing ran because of a problem elsewhere.
It makes it much easier for us to offer constructive answers if you follow Community Guidelines #9. 11, & 14 by supplying a properly formatted configuration for the automation that you have attempted. Please share the YAML and any errors so we can see what you’ve done.
Sorry guys, I didn’t even know there was a way to download the trace details. Looking at that actually solved my problem because it shows details that are not in the UI trace information.
Turns out, I apparently have a problem in my variables section… Not entirely sure why yet, as I copied the setup from another working automation, so I need to debug a little.
I will post more details on the automation itself and the issue I found with the trace when I’m at my PC next.
Turns out I was trying to use variables at the top level of an automation, and that’s apparently not supported. I moved it under the actions section and it’s working again. Apparently it stopped working right around the time of an update because I had made that variable addition… I’d forgotten I added that… so makes sense that something broke.
Here’s the updated YAML that’s now working (it’s at least firing the initial notification, I think I still need to make some other tweaks with how the script part is working).