Check for config errors, is this possible?

Hi there,

I recently had a power failure and when HA came back online it was with some config errors. A restart of HA fixed this and everything went back to normal. What I would like to automate is HA checking for a invalid config as displayed on the front end and if there is one restart home assistant.

I have the restarting down and I would add a delay so as not to end up in a loop by accident but I don’t know how to check for config errors.

Anyway ideas?

https://home-assistant.io/docs/configuration/troubleshooting/ may help

1 Like

I just posted this in a similar thread, I think it would apply here as well:

1 Like

Great! I’ll give that a shot!