Help finding configuration error in [Automation] after upgrade to 2022.12

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.

Logger: homeassistant.config
Source: config.py:508
First occurred: 7:21:18 PM (6 occurrences)
Last logged: 8:18:20 PM

Invalid config for [automation]: Invalid trigger configuration. Got OrderedDict([('homeassistant', OrderedDict([('name', 'Home'), ('external_url', '*'), ('internal_url', '*'), ('latitude', *), ('longitude', *), ('elevation', *), ('unit_system', 'metric'), ('currency', '*'), ('country', '*'), ('time_zone', '*'), ('customize', OrderedDict([('switch.bulbbedroom', OrderedDict([('hidden', True)])), ('switch.bulb_livingroom', OrderedDict([('hidden', True)])), ('switch.s201', .... (See /config/configuration.yaml, line 103).

So, have you looked that up?

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.

Simillar error is showing in my HA -

Logger: homeassistant.config
Source: config.py:508
First occurred: 3:02:45 PM (1 occurrences)
Last logged: 3:02:45 PM

Invalid config for [automation]: Invalid trigger configuration. Got OrderedDict([('default_config', {}), ('tts', [OrderedDict([('platform', 'google_translate')])]), ('group', OrderedDict([('rodina', ['person.wondrej', 'person.kaja'])])), ('automation', [OrderedDict([('id', '1639435892484'), ('alias', 'Potopa v úklidové komoře'), ('description', 'teče voda u pračky'), ('trigger', [OrderedDict([('type', 'moist'), ('platform', 'device'), ('device_id', 'd0c9b3007d8424be68e388fe53502051'), ('entity_id', 'binary_sensor.lumi_lumi_sensor_wleak_aq1_ias_zone'), ('domai.... (See /config/configuration.yaml, line 11).

the line 11:

group: !include groups.yaml

and my groups include only:

rodina:
  - person.wondrej
  - person.kaja

Seems that the config is calling for the group, since automations sends notifications to it.

Same issue, also include groups.yaml and errors with that.
Any solution yet?

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.

I suspect the line number is off by one line. What do you have on the next line?

its automations, but that wont be it. because part of the error code corresponds with the automations I use to call this group.

Hi all, I am seeing message configuration error and except lights and blinds nothing is working.

Posting this in a 2 year old post, without any details won’t get you much help.
Beter open a new topic and provide more details.