Hi all, really struggling to find a solution. I want to turn one light on, wait 30 seconds, then off using 2 motion sensors if only 1 triggers it or both. I have a blueprint but only for 1 sensor. How would I add another
Your not telling us which blueprint you are trying to use.
Skip the blueprint and make a very simple automation:
Trigger:
- Motionsensor 1
- Motionsensor 2
Action:
- Turn on Lamp
- Wait 30 s
- Turn off Lamp
alias: Something
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.yoursensor 1
- binary_sensor.yoursensor 2
from: "off"
to: "on"
condition: []
action:
- service: light.turn_on
data: {}
target:
entity_id: light.yourlight
- wait_template: ""
continue_on_timeout: true
timeout: "00:00:30"
- service: light.turn_off
data: {}
target:
entity_id: light.yourlight
mode: single
What about the sun condition?