I have tried to setup HA to notify me if any of the three doors to the house are left open for more than 3 minutes, where it would pop up on my phone and give a badge number on the HA companion app. I think its set correctly, or at least its firing off, but no notification is appearing on my phone’s app. Either my code isn’t correct, or my phone notifications are not setup properly, and I’m pretty sure its not the latter. Any help diagnosing this is appreciated.
- id: '1667862723183'
alias: Notifications
description: ''
trigger:
- platform: device
device_id: e976d87834880f353afbbf893fc3cbfd
domain: lock
entity_id: lock.front_door_lock
type: unlocked
for:
hours: 0
minutes: 3
seconds: 0
- type: opened
platform: device
device_id: 180b3575c189246a006588db1642c9b4
entity_id: binary_sensor.house_garage_door
domain: binary_sensor
for:
hours: 0
minutes: 3
seconds: 0
- type: opened
platform: device
device_id: 88a19c87170706d5fe217531196f99ef
entity_id: binary_sensor.garage_door
domain: binary_sensor
for:
hours: 0
minutes: 3
seconds: 0
condition: []
action:
- choose:
- conditions:
- type: is_open
condition: device
device_id: 180b3575c189246a006588db1642c9b4
entity_id: binary_sensor.house_garage_door
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 0
sequence:
- service: notify.notify
data:
message: House Garage Door is Open
- conditions:
- type: is_open
condition: device
device_id: 88a19c87170706d5fe217531196f99ef
entity_id: binary_sensor.garage_door
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 0
sequence:
- service: notify.notify
data:
message: Garage Door is Oepn
- conditions:
- type: is_open
condition: device
device_id: 67c71e4256c239940d1ce93d2dea9cba
entity_id: binary_sensor.front_door
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 0
sequence:
- service: notify.notify
data:
message: Front Door is Open
- conditions:
- type: is_open
condition: device
device_id: e976d87834880f353afbbf893fc3cbfd
entity_id: binary_sensor.front_door_lock_status
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 0
sequence:
- service: notify.notify
data:
message: Front Door is Unlocked
mode: single