#Alexa/Echo Notification with Helper Variable as Message

1 messages · Page 1 of 1 (latest)

gilded tangle
#

Is it possible someway to submit a variable, I'm using a input_text helper, as the message to the notifications action?

rose ocean
#

Explain a bit more about what you are trying to achieve. This may not be the proper channel

gilded tangle
#

Thanks for responding. I have an automation that checks my kids' school calendar and identifies whether it is a school night. It also generates the text of a morning announcement to be read when they wake up which tells them which electives they have that day. The text of this announcement is saved as a helper variable of the type input_text. I am trying to use the Notifications action to announce the morning announcement on their Echo device. The problem I am running into is that the "message" input to the Notifications action expects a constant string, and not a variable that contains a string. I'm curious if there is some way around this limitation.

rose ocean
#

Alexa/Echo was missing from the original post, otherwise you can do it with notify services. Unfortunately, I'm lacking knowledge in that department, so I'll pass it on to someone who knows 😄

spare lark
#

heres an example from one of my automations.

#

can change the message line to something like:
message: School Announcement: {{states('announcement.text.helper')}}

gilded tangle
#

Bingo! Thank you piez0r!