Hi Guys,
I created an IOS notification that tells me if the garage is open for more that X minutes, and then has an action button to close the garage. What it happens is that the garage "Auto cose after the notification is sent
alias: Garage Door Notification
description: ''
trigger:
- platform: device
device_id: cce844dceb105e4353cde2beeb35cd0d
domain: cover
entity_id: cover.garage_door
type: opened
for:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
action:
- service: notify.notify
data:
message: Garage Aperto
title: Garage
data:
actions:
- action: CLOSE_GARAGE_ACTION
title: close it
- wait_for_trigger:
- platform: event
event_type: ios.notification_action_fired
event_data:
actionName: CLOSE_GARAGE_ACTION
timeout: '00:00:30'
- service: cover.close_cover
target:
entity_id: cover.garage_door
mode: single