Hi!
After any upgrade (don’t know which exactly) the auto-check of the config file threw me some errors on my automations (just saw it after I wanted to make them editable in the automation.yaml (switched back to a backup from last night)
Here is a part of my automations.yaml:
Alarm: Activation of Motion Sensors
- alias: Trigger alarm while armed away
trigger:
- platform: state
entity_id: sensor.motion_lf_entry_burglar
to: '8'
- platform: state
entity_id: sensor.motion_lf_livingroom_burglar
to: '8'
- platform: state
entity_id: sensor.motion_uf_hallway_burglar
to: '8'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
state: 'armed_away'
action:
- service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.ha_alarm
The config checker says:
Failed config
automation:
- action: [source /home/homeassistant/.homeassistant/automations.yaml:18]
- entity_id: alarm_control_panel.ha_alarm
service: alarm_control_panel.alarm_trigger
alias: Trigger alarm while armed away
condition: [source /home/homeassistant/.homeassistant/automations.yaml:14]
- condition: state
entity_id: alarm_control_panel.ha_alarm
state: armed_away
trigger: [source /home/homeassistant/.homeassistant/automations.yaml:4]
- platform: state
entity_id: sensor.motion_lf_entry_burglar
to: 8
- platform: state
entity_id: sensor.motion_lf_livingroom_burglar
to: 8
- platform: state
entity_id: sensor.motion_uf_hallway_burglar
to: 8
Do you know why it’s not satisfied with my automations.yaml?
Also, when I add ids to make it editable in the automation editor, it leaves the service data fields empty.
Many thanks for your advice in advance!