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
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:
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????