Hi,
i have a custom notification card (from hacs) and i am trying to select the target alexa via dropdown helper but i cant make it work
How do i correctly address the current state of my input select as a target? When i try it this way i get the error service “{{ state… not found”
Sounds like whatever you’re trying to use doesn’t support templates where you’re trying to use them. There might be another way but there’s no way for me to know because you mentioned a random custom UI plugin and didn’t link to it.
Please link to the girhub repo of whatever you’re using so people can look at its doc. Or create an issue there for the developer of that card to respond to.
i thought maybe its a geberal misunderstanding how to use targets in home assistant .
here the repo;
No, target isn’t a general thing. It’s an config option in that card so the developer decided how it worked and implemented it for that card.
Looking at the doc it doesn’t seem like there is any way to use templates or an input helper as the target. However you can set target to a script and then in the script use the input select to pick which notify service to call and pass it the message.
i’ve read the source code of the card… its a string split issue so nevermind 
1 Like