#Actionable notification

1 messages · Page 1 of 1 (latest)

short thorn
#

starting a thread

sleek knot
#

ok and what did you send from HA?

short thorn
#

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

sleek knot
#

ok the format is incorrect there

#

didnt you notice how the actionable button didnt show up?

short thorn
#

First time i've tried doing this so not really sure what to expect 🙂

sleek knot
#

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

short thorn
#

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

sleek knot
#

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.

short thorn
#

What would be super useful is know what these elements should look like in the guide.

sleek knot
#

we have examples for all of them

short thorn
#

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

spiral arrow
#

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.