I have since several months an automation to open my shutters in the morning based on a motion sensor:
alias: SH1 Alle shutters omhoog beweging hall 's morgens
description: Werkt niet indien rolluiken reeds 70% of volledig beneden door zon
trigger:
- type: motion
platform: device
device_id: e1bf5f8694e091d7d792aa8d4c1b8222
entity_id: binary_sensor.motionsensor_hall_occupancy
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
condition:
- condition: time
after: '06:00:00'
before: '12:00:00'
- condition: state
entity_id: input_boolean.rolluik_keuken_auto_gesloten
state: 'off'
- condition: state
entity_id: input_boolean.rolluik_living_auto_gesloten
state: 'off'
action:
- service: cover.open_cover
target:
entity_id: cover.rolluik_keuken
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- service: cover.open_cover
target:
entity_id: cover.rolluik_achterdeur
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- service: cover.open_cover
target:
entity_id:
- cover.rolluikliving
mode: single
This morning at 06:54 cover.rolluik_achterdeur and cover.living opened. The first cover cover.rolluik_keuken remained closed. Manually I could open it by HA.
Checked the trace timeline and couldn’t see anything special:
There are no logbook entries. Is this related to my recorder setup? My database became very big so I excluded the automations domain from the recorder.
Surprised why the first cover didn’t react and the others did…
Thanks for your point of view!