All my automations have stopped sometime in the last week. I don’t see anything unusual in either home-assistant.log or OZW_Log.txt. How do I troubleshoot this? My automation.yaml file is more than 900 lines long!
Important stuff:
I have 1 automation triggered by homeassistant.start that’s working (see code below).
Z-Wave switches are responding to homeassistant commands via the UI.
Z-Wave sensor changes are showing up in OZW logs.
Here’s the code for my only successful automation:
I would comment out all automation code except for one, and test it in isolation. If that works, you know the problem is somewhere in the commented out code. A bisection type search from there ought to localize the problem.
Yes, initial_state: on will fix this. There was a change a few versions back that I had to add this to all my automations since they get turned off on restart without it.