This is my automations.yaml file. It passes the internal validation (green check) and I ran it through an external yaml validitor and it passes. But when I try to reload the automations.yaml file it throws an error that is too generic to be helpful, what’s wrong with this code?
NB: I think most all of these are working and I have restarted HA. I’m running on Pi4.
Also, you will see I am using both life360 and internal HA for GEO, Im testing both for accuracy, so that’s an expected difference in the code.
- id: '1595725566658'
alias: Open the garage when I get home
description: ''
trigger:
- entity_id: device_tracker.life360_dad
platform: state
to: home
condition: []
action:
- device_id: c03533e8b39b4469a36ea76716e83382
domain: cover
entity_id: cover.main_garage_door_opener
type: open
mode: single
- id: '1595725613073'
alias: Close the garage when I leave
description: ''
trigger:
- entity_id: device_tracker.life360_dad
event: leave
platform: state
to: not home
condition: []
action:
- device_id: c03533e8b39b4469a36ea76716e83382
domain: cover
entity_id: cover.main_garage_door_opener
type: close
mode: single
- id: '8234324837875'
alias: Turn off bedroom mini split in the morning
description: turn off bedroom mini split in the morning
trigger:
- at: '08:00:00'
platform: time
action:
- data:
command:
- Power Off
device: 70356291
entity_id: remote.master_bedroom_2
service: remote.send_command
mode: single
- id: '4598345843759'
alias: Turn on bedroom mini split in the afternoon
description: turn on bedroom mini split in the afternoon
trigger:
- at: '16:00:00'
platform: time
action:
- data:
command:
- Power On
device: 70356291
entity_id: remote.master_bedroom_2
service: remote.send_command
mode: single
- id: '1596799681405'
alias: unlock the door when i get home
description: ''
trigger:
- entity_id: device_tracker.life360_dad
platform: state
to: home
condition: []
action:
- device_id: 7a9314d24d3e401384799c8ac650c9e7
domain: lock
entity_id: lock.front_door
type: unlock
mode: single
- id: '94837387648'
alias: lock the door when i leave
description: ''
trigger:
- event: leave
platform: geo_location
source: person.dad
zone: zone.home
condition: []
action:
- device_id: 7a9314d24d3e401384799c8ac650c9e7
domain: lock
entity_id: lock.front_door
type: lock
mode: single
- id: '1597656333563'
alias: Lock the door at 9pm
description: ''
trigger:
- at: '21:00:00'
platform: time
condition: []
action:
- device_id: 7a9314d24d3e401384799c8ac650c9e7
domain: lock
entity_id: lock.front_door
type: lock
mode: single
- id: '857629276847'
alias: Turn on office mini split in the morning
description: turn on office mini split in the morning
trigger:
- at: '08:00:00'
platform: time
action:
- data:
command:
- Power On
device: 71009940
entity_id: remote.office_hub
service: remote.send_command
mode: single
- id: '182849447'
alias: Turn off office mini split in the afternoon
description: turn off office mini split in the afternoon
trigger:
- at: '18:00:00'
platform: time
action:
- data:
command:
- Power Off
device: 71009940
entity_id: remote.office_hub
service: remote.send_command
mode: single
Deeply appreciate any help. I can’t see where the error is that would cause HA to not be able to reload this.
EDIT: The error I receive is:
The following integrations and platforms could not be set up:
- automation
Please check your config.