#Actionable notification
1 messages · Page 1 of 1 (latest)
ok and what did you send from HA?
that was saved btw
actually let me do that again as that entity should go to an image. I'll change it to the camera one
I know it doesn't do anything as i've tried before
ok the format is incorrect there
didnt you notice how the actionable button didnt show up?
First time i've tried doing this so not really sure what to expect 🙂
ok for this part take a look at the code block here: https://companion.home-assistant.io/docs/notifications/actionable-notifications#building-actionable-notifications
for the data section you're in you need to match everything under the 3rd line
so your missing actions: and also - in front of action. Need to be precise with spacing if this is your first time using YAML
the rest of the data you have looks good as long as you get the spacing right
now since you didnt have a button there
you can also use clickAction: entityId:<entity> and that will be the action for the notification as a whole
like when you select it
ooh it works. It shows a open url button then loads the Companion app, then a second or two later the camera feed
Took a while as I was doing it from my phone
clickAction shouldn't be indented like that
you can place it above actions: same spacing
all the other elements are not spaced in, only actions is.
What would be super useful is know what these elements should look like in the guide.
we have examples for all of them
Pretty sure i'm not using Click Action properly but I don't think I need it for now.
Thanks for walking me through this. I'll refer to those guides and hopefully build upon this but Seeing an image and being able to go to the camera serves my needs at the moment
Does anyone know if there is a way to have a full screen actionable notification? I think also referred to as a "full-screen intent"?
For Android.