How to Call a Service from an Actionable Notification In Companion App (Andriod)

I have been successful with creating an actionable notification that uses an URI action to open Gmail (based on forum examples). However, what I would really like to do is to call a server / modify an entity state from the notification.

For example, when a flow triggers a security event and activates my houses siren, I have a notification that is send to my phone. On a false alarm, I would like to have the actionable notification to change the state of the siren to off. I found a blueprint that works on helpers (in home assistant), but I’ve been unable to use this information to make this work on Node Red.

Is it possible to change an entity state from a actionable notification on android?

Any information would be greatly appreciated!

Example of JSON of a working actionable notification that opens Gmail on the receiving device.

"data":
            {
            "actions":
                [{
                "action":"URI",
                "uri":"app://com.google.android.gm", 
                "title":"gMail",
                }], 

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/cookbook/actionable-notifications-subflow-for-android.html

1 Like