I’m having a hard time figuring out what’s wrong with my automation here.
- alias: Rolluik Slaapkamer openen om 9u wanneer niemand thuis is
trigger:
platform: time
at: '9:00:00'
condition:
condition: and
conditions:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
- contition: state
entity_id: group.people
state: 'not_home'
action:
- service: cover.open_cover
entity_id: cover.slaapkamer
- service: notify.pushover
data_template:
message: >
Slaapkamer rolluik geopend ({{ now().strftime('%H:%M:%S') }})
I figured out the problem is in this part:
- contition: state
entity_id: group.people
state: 'not_home'
Can anyone tell me what’s wrong with it?