#Intent String for ACTION_CALL

1 messages · Page 1 of 1 (latest)

foggy dirge
#

Hi!

I'm currently building an actionable notification and i want one of the actions it to initiate a call out if pressed. I can't seem to get the Intent String right. Any advice?

Thank you!

languid jewel
#

test the action first because a special permission is required for it to work

#

the app will request it the first time the command is used

foggy dirge
#

Thank you! I'm having a hard time formating the Intent string Home Assistant needs to get it to work

languid jewel
foggy dirge
#

I tried this string formatted to that the companion app mentions. Is this correct? intent://tel:+18881112222/#Intent;action=CALL;end

#

I tried it and nothing happened, but I feel like I'm not formatting it right

languid jewel
#

the action needs the same string there, not sure on the format there google has some docs on the structure....the app merely validates the URI scheme

foggy dirge
#

So if it opens the Home Assistant home page instead on clicking, it means it's validated?

languid jewel
#

the format may be valid but that doe not mean the intent itself was valid. the logs may show an error