Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feed a variable to the option image #100

Open
guaro2k opened this issue Jan 25, 2021 · 1 comment
Open

feed a variable to the option image #100

guaro2k opened this issue Jan 25, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@guaro2k
Copy link

guaro2k commented Jan 25, 2021

I've tried a bunch of code to be able to feed the option image a variable instead of a url path

its supposed to be be like this:

image: "image/path"

I have a template variable that saves the changing url for the media for Sonos

sensor.sonos_media

with a state :
/api/media_player_proxy/media_player.living_room?token=1124256fa1cae8e1be0c476c2ce881aaf523ff4cfeaba2b1866759033a944f8b&cache=d05f973fec3e2c7b

The token changes every time there is a new image cover

How do I do image: sensor.sonos_media????

@DBuit
Copy link
Owner

DBuit commented Apr 21, 2021

Not possible at the moment have to add code to make it work

@DBuit DBuit added the enhancement New feature or request label Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants