[SOLVED] Automation Config Error Groups

I keep getting the following error on startup. It doesn’t seem to impact anything but I just can’t get it to go away.


Logger: homeassistant.config
Source: config.py:464 
First occurred: 4:15:20 PM (1 occurrences) 
Last logged: 4:15:20 PM

Invalid config for [automation]: required key not provided @ data['action']. Got None required key not provided @ data['trigger']. Got None. (See /config/configuration.yaml, line 80).

Line 80 just has

group: !include groups.yaml 

groups.yaml is just an empty file. Any ideas?

There seems to be a problem in your automation.yaml
Check if all your automation‘s are working

the error checker gets messed up sometimes and gives the wrong (or no) line numbers depending on how your config is split up.

but as deluxestyle pointed out the error is in the automations (as noted in the error wording itself) not the groups (as indicated by the line number).

it looks like in the action you are referencing a trigger but it doesn’t exist yet? without seeing the automation it’s hard to tell why it would be like that.

I went through all automations and they seem to be fine. I have a few turned off that can’t work right now but other than that I have no idea. I am attaching my automations.yaml in case someone sees something glaringly obvious.

- id: '1556163979419'
  alias: Set Heat During Day
  trigger:
  - at: 07:00:00
    platform: time
  condition:
  - below: '69'
    condition: numeric_state
    entity_id: sensor.liberty_hill_inside_temp
  action:
  - data:
      temperature: 69
      hvac_mode: heat
    service: climate.set_temperature
    target:
      entity_id:
      - climate.z_wave_thermostat_3
      - climate.z_wave_thermostat
- id: '1556164126979'
  alias: Set Heat at Night
  trigger:
  - at: '20:00:00'
    platform: time
  condition:
  - above: '69'
    condition: numeric_state
    entity_id: sensor.liberty_hill_inside_temp
  action:
  - data:
      temperature: 65
      hvac_mode: heat
    service: climate.set_temperature
    target:
      entity_id:
      - climate.z_wave_thermostat
      - climate.z_wave_thermostat_3
- id: '1556166051078'
  alias: Turn On AC
  trigger:
  - above: '75'
    entity_id: sensor.liberty_hill_inside_temp
    platform: numeric_state
  condition: []
  action:
  - data:
      hvac_mode: cool
      temperature: 69
    service: climate.set_temperature
    target:
      entity_id:
      - climate.z_wave_thermostat_3
      - climate.z_wave_thermostat
- id: '1592963383196'
  alias: Close Double Garage Door
  description: Put the double garage door down at night
  trigger:
  - event: sunset
    platform: sun
  condition:
  - condition: state
    entity_id: cover.double_garage
    state: open
  action:
  - service: cover.close_cover
    target:
      entity_id:
      - cover.double_garage
  mode: single
- id: '1592963953246'
  alias: Close Single Garage Door
  description: Put the double garage door down at night
  trigger:
  - event: sunset
    platform: sun
  condition:
  - condition: state
    entity_id: cover.single_garage
    state: open
  action:
    service: cover.close_cover
    target:
      entity_id: 
      - cover.single_garage
  mode: single
- id: '1593037112136'
  alias: Turn landscape lighting on
  description: Turns the low voltage lights on outside of Saddlewood
  trigger:
  - event: sunset
    platform: sun
    offset: +00:30:00
  condition:
  - condition: state
    state: 'off'
    entity_id: switch.smart_switch_6_current_value
  action:
  - type: turn_on
    device_id: 16b5e66a82158ab2a470a2c59f35507c
    entity_id: switch.smart_switch_6_current_value
    domain: switch
  mode: single
- id: '1593037252264'
  alias: Turn landscape lighting off
  description: Turns the low voltage lights off outside of Saddlewood
  trigger:
  - event: sunrise
    offset: -04:00:00
    platform: sun
  condition:
  - condition: state
    state: 'on'
    entity_id: switch.smart_switch_6_current_value
  action:
  - type: turn_off
    device_id: 16b5e66a82158ab2a470a2c59f35507c
    entity_id: switch.smart_switch_6_current_value
    domain: switch
  mode: single
- id: '1605361985322'
  alias: Turn Smart Switches On (Sunset)
  description: Turn on smart switches at sunset.
  trigger:
  - platform: sun
    event: sunset
    offset: +00:30:00
  condition: []
  action:
  - type: turn_on
    device_id: 4319a2dfcc2c06db27567dad58f82a46
    entity_id: switch.smart_switch_6_current_value_3
    domain: switch
  - type: turn_on
    device_id: ca9ea528c97ee15bfd5226a9d479b092
    entity_id: switch.smart_switch_6_current_value_2
    domain: switch
  - type: turn_on
    device_id: 5579254333087d1fe50c5a2c7987f7bf
    entity_id: switch.wall_plug_switch_current_value
    domain: switch
  - service: ifttt.trigger
    data:
      event: porch_lights_on
      value1: 'on'
  - type: turn_on
    device_id: 8efc2e84e5887c844e3aa7b65291ca99
    entity_id: switch.none_current_value
    domain: switch
  - type: turn_on
    device_id: 751dd369c58726d884cef8f3c8932e43
    entity_id: switch.outdoor_z_wave_plug_in_module_2_channel
    domain: switch
  mode: single
- id: '1605362102253'
  alias: Turn Smart Switches Off (Before Sunrise)
  description: Turn off Smart Switches 5 hours before sunrise.
  trigger:
  - platform: sun
    event: sunrise
    offset: -05:00:00
  condition: []
  action:
  - type: turn_off
    device_id: ca9ea528c97ee15bfd5226a9d479b092
    entity_id: switch.smart_switch_6_current_value_2
    domain: switch
  - type: turn_off
    device_id: 4319a2dfcc2c06db27567dad58f82a46
    entity_id: switch.smart_switch_6_current_value_3
    domain: switch
  - type: turn_off
    device_id: 5579254333087d1fe50c5a2c7987f7bf
    entity_id: switch.wall_plug_switch_current_value
    domain: switch
  - service: ifttt.trigger
    data:
      event: porch_lights_off
      value1: 'false'
  - type: turn_off
    device_id: 8efc2e84e5887c844e3aa7b65291ca99
    entity_id: switch.none_current_value
    domain: switch
  - type: turn_off
    device_id: 751dd369c58726d884cef8f3c8932e43
    entity_id: switch.outdoor_z_wave_plug_in_module_2_channel
    domain: switch
  mode: single
- id: '1613838752640'
  alias: Maintain Humidity - Off
  description: Optimal humidity in winter by toggling the humidifier off in ideal
    conditions.
  trigger:
  - platform: state
    entity_id: sensor.average_house_rh_2
  - platform: state
    entity_id: sensor.liberty_hill_temp
  condition:
  - condition: device
    type: is_on
    device_id: 0bc7fc57176e25715459e733d2f31b89
    entity_id: switch.flush_1d_relay_current_value_2
    domain: switch
  - condition: or
    conditions:
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        above: '35'
        below: '40'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '20'
        below: '50'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        above: '30'
        below: '35'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '10'
        below: '20'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        above: '25'
        below: '30'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '0'
        below: '10'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        above: '20'
        below: '25'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '-10'
        below: '0'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        above: '15'
        below: '20'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '-20'
        below: '-10'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        above: '15'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        below: '-20'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        above: '50'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '50'
  action:
  - type: turn_off
    device_id: 0bc7fc57176e25715459e733d2f31b89
    entity_id: switch.flush_1d_relay_current_value_2
    domain: switch
  mode: single
- id: '1613838885619'
  alias: Maintain Humidity - On
  description: "Optimal humidity in winter by toggling the humidifier on in non-ideal\n\
    \    conditions."
  trigger:
  - platform: state
    entity_id: sensor.average_house_rh_2
  - platform: state
    entity_id: sensor.liberty_hill_temp
  condition:
  - condition: device
    type: is_off
    device_id: 0bc7fc57176e25715459e733d2f31b89
    entity_id: switch.flush_1d_relay_current_value_2
    domain: switch
  - condition: or
    conditions:
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        below: '35'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '20'
        below: '50'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        below: '30'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '10'
        below: '20'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        below: '25'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '0'
        below: '10'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        below: '20'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '-10'
        below: '0'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        below: '15'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '-20'
        below: '-10'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        below: '15'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        below: '-20'
    - condition: and
      conditions:
      - condition: numeric_state
        entity_id: sensor.average_house_rh_2
        below: '50'
      - condition: numeric_state
        entity_id: sensor.liberty_hill_temp
        above: '50'
  - condition: state
    entity_id: climate.z_wave_thermostat
    state: heat
  action:
  - type: turn_on
    device_id: 0bc7fc57176e25715459e733d2f31b89
    entity_id: switch.flush_1d_relay_current_value_2
    domain: switch
  mode: single
- id: '1615067351970'
- id: '1615068934627'
  alias: Refresh Humidity Sensors
  description: ''
  trigger:
  - platform: state
    entity_id: sensor.liberty_hill_humidity_in
  condition: []
  action:
  - service: zwave_js.refresh_value
    data:
      entity_id: sensor.z_wave_thermostat_humidity_2
  - service: zwave_js.refresh_value
    data:
      entity_id: sensor.z_wave_thermostat_humidity_2_2
  - service: zwave_js.refresh_value
    data:
      entity_id: sensor.multisensor_6_humidity_2
  mode: single
- id: '1618075982150'
  alias: When I leave home send Eugene to clean
  description: ''
  trigger:
  - platform: zone
    entity_id: person.john_lento
    zone: zone.home
    event: leave
  - platform: zone
    entity_id: person.jennifer_lento
    zone: zone.home
    event: leave
  condition:
  - condition: device
    device_id: eb74300e7100e75b9ca811f548efb5cb
    domain: vacuum
    entity_id: vacuum.eugene
    type: is_docked
  action:
  - device_id: eb74300e7100e75b9ca811f548efb5cb
    domain: vacuum
    entity_id: vacuum.eugene
    type: clean
  mode: single
- id: '1618089952617'
  alias: When I return home send Eugene home
  description: ''
  trigger:
  - platform: zone
    entity_id: person.john_lento
    zone: zone.home
    event: enter
  - platform: zone
    entity_id: person.jennifer_lento
    zone: zone.home
    event: enter
  condition:
  - condition: device
    device_id: eb74300e7100e75b9ca811f548efb5cb
    domain: vacuum
    entity_id: vacuum.eugene
    type: is_cleaning
  action:
  - device_id: eb74300e7100e75b9ca811f548efb5cb
    domain: vacuum
    entity_id: vacuum.eugene
    type: dock
  mode: single
- id: '1618146215816'
  alias: Turn off Humidifier
  description: Turns off the humidifier when HVAC is set to off or cold.
  trigger:
  - platform: state
    entity_id: climate.z_wave_thermostat
    from: heat
    to: 'off'
  - platform: state
    entity_id: climate.z_wave_thermostat
    from: heat
    to: cool
  - platform: state
    entity_id: climate.z_wave_thermostat
    from: 'off'
    to: cool
  condition:
  - condition: device
    type: is_on
    device_id: 0bc7fc57176e25715459e733d2f31b89
    entity_id: switch.flush_1d_relay_current_value_2
    domain: switch
  action:
  - type: turn_off
    device_id: 0bc7fc57176e25715459e733d2f31b89
    entity_id: switch.flush_1d_relay_current_value_2
    domain: switch
  mode: single
- id: '1618636288270'
  alias: Open Double Garage Door at Sunrise
  description: ''
  trigger:
  - platform: sun
    event: sunrise
  condition:
  - condition: state
    entity_id: cover.double_garage
    state: closed
  action:
  - service: cover.open_cover
    target:
      entity_id: cover.double_garage
  mode: single
- id: '1632185494706'
  alias: Turn pool lights on
  description: ''
  trigger:
  - platform: sun
    event: sunset
  condition:
  - condition: device
    type: is_off
    device_id: f3dba731a645554c0ff1f58307a977c0
    entity_id: light.pool_lights
    domain: light
  action:
  - type: turn_on
    device_id: f3dba731a645554c0ff1f58307a977c0
    entity_id: light.pool_lights
    domain: light
  mode: single
- id: '1632185572234'
  alias: Turn pool lights off
  description: ''
  trigger:
  - platform: sun
    event: sunrise
    offset: -04:00:00
  condition:
  - condition: device
    type: is_on
    device_id: f3dba731a645554c0ff1f58307a977c0
    entity_id: light.pool_lights
    domain: light
  action:
  - type: turn_off
    device_id: f3dba731a645554c0ff1f58307a977c0
    entity_id: light.pool_lights
    domain: light
  mode: single

the only thing I see that is obvious is this:

- id: '1615067351970'

doesn’t have any of the rest of a normal automation connected to it.

it’s about 2/3 of the way down that list right before the “Refresh Humidity Sensors” automation.

that might be it.

Thank you so much, good eye. That was definitely it.

1 Like