Automation could not be set up

Hi all,

Just upgraded after running about 5 or 6 versions back and now I get a card that says:

Invalid Config
The following components and platforms could not be set up:
- automation
Please check your config

Even after completely emptying my automation.yaml, reloading automation, and/or restarting HASS it still appears.

I’ve checked the release notes for breaking changes (I hit the z-wave entity renaming one and corrected that) but I see nothing that would apply.

Am I missing something obvious?

As is always the case, immediately after posting I found the issue even though I’ve not solved it for days.

For future posters: hide_entity: False needs to be added to each entry.

After stumbling across this thread, I realized that I had the same error, but my solution was different.

For anyone with this same error after adding automations, I added hide_entity: False, but I also didn’t realize that the state automation can’t just look for on for a binary sensor. It absolutely requires both the from: off and to: on options.

This is not clear from documentation and I struggled (because it’s home-assistant, of course I struggled) to find this out and wanted to save others from my pain.