I ❤️ HomeAssistant error logs - not

Sometimes I have errors in the log that leave me perplexed. Does anyone have any idea how I can find the error?

And what are your best, funniest or most meaningless log entries?

Look for an automation where there is no action (or possibly empty action).
Shouldn’t be so hard to spot that in automations.yaml.

The second one is perhaps harder, but a CTRL+F on “after” will probably narrow it down to very few automations.

I have many things organized in packages. There is a package for the dishwasher, for the washing machine, dryer and so on. A package contains sensors, automations, inputs, etc. This is (usually) much easier than scattering the functions for one appliance over different files.
Instead, the automations are now scattered over many device packages. Unfortunately HomeAssistant does not show in which file the problem is.

this would be a good* WTH question. …to name the file and line number.

[edit: typo*]

1 Like

There are some WTH around this… Please vote.

It’s a bit sad that you need a custom component for something that should be integrated into the core, well…Anyway, TheWatchman works really well:

1 Like

All-time favorite.

woud be easier if you provided a link :slight_smile:

It is a link.

1 Like

If I try to install Watchman, I get this error:

Der Konfigurationsfluss konnte nicht geladen werden: {"message":"Invalid handler specified"}

I wish I had a tool like Watchman that helps me to explain that. :wink: