After upgrading I get the following notification. Looking in the logs I cannot see what the problem is as the output either is truncated or not showing the right thing? The same notification reappears if I try to reload the automations. Most work but there are some that do not.
Yeah sorry, should have mentioned that. Line 103 is empty but line 104 has automation: !include automations.yaml. automations.yaml in turn is 4343 lines long so would be a bit tricky to find the issue in there without help. Before this line the previous one containing code is another include for alarm_control_panel. This integration is working fine from what I can tell.
I found the error. Was not easy! But in short I removed the deConz triggers in all automations. I had trouble with PIR sensors and remotes on zigbee. Thought the PIR automations did not work due to the same error but in fact I had to repair half of my PIR sensors after the HA upgrade (strange). Thought then maybe the remotes need repairing too, but they reported events and worked fine that way, although the automations for some (ones not working) did not show up in the search. Going on the hint that there was an error with the “trigger” I tried removing all triggers for one of the automations that did not show and reloaded automations, then it showed! Removing one by one trigger it turned out to be old unused triggers I have replaced at some point when switching to ZHA from deConz i still had deConz triggers in some automations. Removing all these and reloading automations I got all automations to show and hopefully working as well.