Solved: Log Issue: Just cant understand where the issue is

Invalid config for [automation]: Invalid trigger configuration. Got OrderedDict([('default_config', {}), ('recorder', OrderedDict([('db_url', 'mysql://homeassistant:XXXXXXXXXX@core-mariadb/homeassistant?charset=utf8mb4')])), ('frontend', OrderedDict([('themes', OrderedDict([('Soft UI', OrderedDict([('card-mod-theme', 'Soft UI'), ('card-mod-card', 'ha-card {\n margin: 20px;\n border-radius: 15px;\n}\n'), ('app-header-background-color', 'var(--primary-background-color)'), ('app-header-text-color', 'var(--primary-text-color)'), ('app-header-selection-bar-color'.... (See /config/configuration.yaml, line 30).
Invalid config for [automation]: Invalid trigger configuration. Got OrderedDict([('default_config', {}), ('recorder', OrderedDict([('db_url', 'mysql://homeassistant:XXXXXXXXXX@core-mariadb/homeassistant?charset=utf8mb4')])), ('frontend', OrderedDict([('theme', OrderedDict([('Soft UI', OrderedDict([('card-mod-theme', 'Soft UI'), ('card-mod-card', 'ha-card {\n margin: 20px;\n border-radius: 15px;\n}\n'), ('app-header-background-color', 'var(--primary-background-color)'), ('app-header-text-color', 'var(--primary-text-color)'), ('app-header-selection-bar-color',.... (See /config/configuration.yaml, line 30).
Invalid config for [automation]: Invalid trigger configuration. Got OrderedDict([('default_config', {}), ('recorder', OrderedDict([('db_url', 'mysql://homeassistant:XXXXXXXXXX@core-mariadb/homeassistant?charset=utf8mb4'), ('exclude', OrderedDict([('domains', ['light', 'alarm_control_panel', 'automation', 'input_boolean -', 'remote', 'script', 'binary_sensor', 'climate', 'cover', 'device_tracker', 'fan', 'light', 'lock', 'media_player', 'switch'])]))])), ('frontend', OrderedDict([('themes', OrderedDict([('Soft UI', OrderedDict([('card-mod-theme', 'Soft UI'), ('.... (See /config/configuration.yaml, line 47).
Invalid config for [automation]: Invalid trigger configuration. Got OrderedDict([('default_config', {}), ('recorder', OrderedDict([('db_url', 'mysql://homeassistant:XXXXXXXXXX@core-mariadb/homeassistant?charset=utf8mb4'), ('exclude', OrderedDict([('domains', ['light', 'alarm_control_panel', 'automation', 'input_boolean -', 'remote', 'script', 'binary_sensor', 'climate', 'cover', 'device_tracker', 'fan', 'light', 'lock', 'media_player', 'switch'])]))])), ('frontend', OrderedDict([('themes', OrderedDict([('Mushroom', OrderedDict([('ha-card-box-shadow', '0px 2px .... (See /config/configuration.yaml, line 47).

This is my config file. I have finished splitting out my config file a few days ago into separate files. I didn’t have any issues until today with my automations for some reason??

###homeassistant Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

homeassistant:
  allowlist_external_dirs:
    - /config
recorder:
  db_url: "mysql://homeassistant:XXXXXXXX@core-mariadb/homeassistant?charset=utf8mb4"
  exclude:
    domains:
      - light
      - alarm_control_panel
      - automation 
      - input_boolean -
      - remote 
      - script
      - binary_sensor
      - climate
      - cover
      - device_tracker
      - fan
      - light
      - lock
      - media_player
      - switch 

tts:
  - platform: google_translate

frontend:
  themes: !include_dir_merge_named themes
  extra_module_url:
    - /local/card-mod.js
    - /local/hass-bha-icons.js

notify:
  - name: Group Notification
    platform: group
    services:
      - service: mobile_app_samsung_fold
      - service: mobile_app_brads_phone

wake_on_lan:
zha_toolkit:
powercalc:

alarm_control_panel: !include alarm_control_panels.yaml
automation: !include automations.yaml
binary_sensor: !include binary_sensor.yaml
camera: !include camera.yaml
group: !include groups.yaml
light: !include lights.yaml
logger: !include logger.yaml
media_player: !include media_player.yaml
scene: !include scenes.yaml
script: !include scripts.yaml
sensor: !include sensor.yaml
spotcast: !include spotcast.yaml
switch: !include switchs.yaml
template: !include templates.yaml
zha: !include zha.yaml
zone: !include zones.yaml

I imagine that the problem is in automations.yaml, given that the log is complaining about an automation.

The extra “-“ after input_boolean should go as well

1 Like

ahh cheers, i just added recorder excludes in. Thank mate