I have an automation where when I get a call on my home line, it sends me a notification of the caller’s details. I’m trying to modify this to be an actionable notification where I can then just push a button and then call that number. However, what is happening is that I get no notification at all.
The code for just displaying the information is
action: notify.caller_id_notify_group
metadata: {}
data:
message: >-
Incoming call from {{
state_attr('sensor.modem_callerid_55ff3d54501b4d361c7abf6327d7405d',
'cid_name') }} at {{
states_attr('sensor.modem_callerid_55ff3d54501b4d361c7abf6327d7405d',
'cid_number') }}
title: Caller ID
And the code that I’m trying to use is:
action: notify.caller_id_notify_group
metadata: {}
data:
message: >-
Incoming call from {{
state_attr('sensor.modem_callerid_55ff3d54501b4d361c7abf6327d7405d',
'cid_name') }} at {{
states_attr('sensor.modem_callerid_55ff3d54501b4d361c7abf6327d7405d',
'cid_number') }}
data:
actions:
- action: CALL
title: >-
Call {{
state_attr('sensor.modem_callerid_55ff3d54501b4d361c7abf6327d7405d',
'cid_name') }}
uri: >-
tel:{{
state_attr('sensor.modem_callerid_55ff3d54501b4d361c7abf6327d7405d',
'cid_number') }}
:
I’m sure that it’s something simple, but I haven’t been able to figure it out.All help is gratefully appreciated - and I wish I could just send a keg of beer to the one that solves this issue.