I have Alexa Media Player installed and working great. In Node Red I have my flows I want working and sending notifications/announcements to specific Alexa’s using, Call Service, Notify and then the specific Alexa. I also have a sensor set up in Home Assistant that gives me the last called Alexa.
I would like to send the notifications/announcements to the last called Alexa from the sensor, rather then specific Alexa’s in Node Red.
I’ve started to test with a simple inject that gets the current state of my sensor.last_alexa and sends the payload to a debug node. That all works fine and gives me the name of the last called Alexa, what I don’t know how to do is use that payload in the call service node I use to send announcements.
I’m sure this is a simple answer and I tried searching, but wasn’t sure exactly how to word my searches and came up empty. Any help would be greatly appreciated.