I’ve been trying to get this automation to work for over three weeks now with no success. It contains one trigger and two actions, the first action executes good as soon as the trigger changes state but the second action never executes after the time has elapse. I’m hoping that someone can give me some pointers on where my problem lies.
alias: Single Garage Door Notify Open
description: ""
trigger:
- type: opened
platform: device
device_id: ddc1bcc49020530900a4ee5539851cb4
entity_id: 5ca45770c7b611f84d749b54eae1811c
domain: binary_sensor
condition: []
action:
- data:
message: Single Garage Door Open!
title: WARNING
service: notify.mobile_app_galaxy_s22_ultra
- if:
- condition: state
entity_id: binary_sensor.single_garage_door_contact
state: "on"
for:
hours: 0
minutes: 1
seconds: 0
then:
- service: notify.mobile_app_galaxy_s22_ultra
metadata: {}
data:
message: Single Garage Door Left Open!
title: WARNING
mode: single