I would like to have multiple triggers force an action and then after a delay cause another action
I want opening the front door, garage door or motion to trigger two lights to come on, stay on for 3 minutes and then turn back off. I don’t think I quite have it, but here is my automation below…
`
-
id: ‘1653420314161’
alias: Hallway Motion Triggered Lights
description: ‘’
trigger:
-
type: motion
platform: device
device_id: 74bb28e318f7fd198fe497bf40b91147
entity_id: binary_sensor.lumi_lumi_sensor_motion_aq2_ias_zone
domain: binary_sensor
-
type: opened
platform: device
device_id: 67c71e4256c239940d1ce93d2dea9cba
entity_id: binary_sensor.front_door
domain: binary_sensor
-
type: opened
platform: device
device_id: 180b3575c189246a006588db1642c9b4
entity_id: binary_sensor.house_garage_door
domain: binary_sensor
condition: []
action:
-
service: homeassistant.turn_on
data: {}
target:
entity_id:
-
light.hallway
-
switch.stairway_lights
-
-
delay:
hours: 0
minutes: 3
seconds: 0
milliseconds: 0
-
service: homeassistant.turn_off
data: {}
target:
entity_id:
-
light.hallway
-
switch.stairway_lights
-
mode: single
` -