So I am trying to make the system send me an actionable notification to my phone to verify that I want to arm the house alarm. I just can’t seem to get it working, I get notification and press the arm button, but nothing happens… So I was wondering if someone can point out my mistake…
alias: Arm Home (Night)
description: Request to Arm at approximately 11pm
trigger:
- platform: time
at: '23:00'
condition: []
action:
- service: notify.mobile_app_<phone_ID>
data:
message: Time to ARM house?
data:
actions:
- action: call-service
title: ARM
service: alarm_control_panel.alarm_arm_home
target:
device_id: alarm_control_panel.arts_s_house
data:
code: '0123'
mode: single
You don’t define the action to be taken directly in the notification, you need to create a separate automation that listens for the answer and then executes the actions.
See here:
Here’s an example from my config that listens to the action arm_alarm:
Hi All, I do not see the action buttons on my Android unless I click on the ‘expand’ icon of the notification. Is there any way to get the action buttons to show immediately?