I’ve just started getting into Home Assistant and trying to create a notification to my phone if the garage door is left open (1 minute for testing purposes). So far I can get it to notify me with the action button but the action never plays out. Also is there a way to make this a “critical” notification for ios? Here’s my automation:
alias: "Notification: Garage Door Left Open"
description: ""
trigger:
- type: opened
platform: device
device_id: REDACTED
entity_id: binary_sensor.garage_door_tilt_contact
domain: binary_sensor
for:
hours: 0
minutes: 1
seconds: 0
condition: []
action:
- service: notify.mobile_app_jasons_iphone
data:
message: Garage door is left open!
title: Garage Door
data:
actions:
- service: cover.close_cover
title: Close Garage Door
mode: single