Hi, i just learned about actionable inputs and wanted to try it. I am trying to have the following workflow:
If an inout boolean is “on” for more than 5 minutes → I get an iOS notification with an actionable option to turn it off.
I got as far as getting the action to show up when I press and hold the notification but when I press on that action — nothing happens. Here’s the code:
action:
- service: notify.mobile_app_mk_iphone_14
data:
message: Check the door if it should be locked
title: Door might be open
data:
actions:
- action: lock
title: Lock?
service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.lock_switch_2
mode: single
Separately, is there a way for the action to always just show up an option instead of me pressing & holding the notification?
Thank you