alexa_media_player: YAML macros do not work in HA service call
In the documentation the target setup in notify is :
- service: notify.alexa_media
data:
data:
type: tts
target:
- media_player.downstairs
- media_player.upstairs
or target
target:
- media_player.downstairs
or target:
target : - ‘{{ states… }}’ but don’t work if i create a macro to pass a media:player target: >- {{ macro ecc ecc }} with resoult - media_player.downstairs
Is possible to add a templete in target : ??? Many thanks!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (9 by maintainers)
Commits related to this issue
- Merge pull request #766 from alandtse/#761 fix: load notify targets as json — committed to alandtse/alexa_media_player by alandtse 4 years ago
Thanks @caiosweet, yes I eventually figured that out. 😉 The PR addresses it.