Hi All
i am using the standard motion activated blueprint to get my hue outdoor light to come on after motion is detected on my ring doorbell. if i run the automation manually it works however when motion is detected on the doorbell the light remains off and never comes on.
below is yamal from the blueprint. i am compleate novice when it comes to ymal.
description: ""
triggers:
- entity_id: binary_sensor.front_door_bell_motion_2
from: "off"
to: "on"
trigger: state
conditions:
- condition: time
after: "17:00:00"
before: "05:00:00"
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
actions:
- alias: Turn on the light
target:
entity_id: light.front_house
action: light.turn_on
data: {}
- alias: Wait until there is no motion from device
wait_for_trigger:
entity_id: binary_sensor.front_door_bell_motion_2
from: "on"
to: "off"
trigger: state
- alias: Wait the number of seconds that has been set
delay: 120
- alias: Turn off the light
target:
entity_id: light.front_house
action: light.turn_off
data: {}
mode: restart
max_exceeded: silent