Hi Guys,
I am trying to create this automation:
WHEN
Door1 and Door2
ARE
open both open for 5 minutes
THEN
Send a notification
However I am not sure how to AND door1 and doo2 in the automation
Thanks Guys!
alias: Alert if both garden door open for x minutes
description: ''
trigger:
- type: opened
platform: device
device_id: be92caa1d878yughgu7t8767
entity_id: binary_sensor.garden_sliding_door_contact
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- type: opened
platform: device
device_id: 85ae84c391a7978787087098yiu7
entity_id: binary_sensor.garden_screen_door_contact
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
condition: []
action:
- service: notify.notify
data:
message: Both doors are open
mode: single