Yes you forgot the port number. Remember that you always need the port number if you link something to home assistant.
Hello!
Iām trying to make the Spotify cover image appear in my Dashboard but I canāt seem to get it right. The api password is the one from Spotify? Or the one from HA?
ok, interesting stuff here
i use that URL in a cloud system
does the token change? otherwise i cant use it? right?
or can i make use of the bearer ? if token of the camera is not static?
Hi All,
Assuming the purpose is to get the image as a widget, why not use the entitypicture ?
mediapicture1:
widget_type: entitypicture
title: Some Title
base_url: http://192.168.x.x:8123 <-- this is your HA server IP
entity: media_player.rock64
any entity with an entity_picture will work; havent tried other attributes having image yet. The idea is to have the full url as (base_url+entity). this solves the token and cached image problems.
Bipin.
Thanks for this, I didnāt realize an entitypicture widget existed. Do you know if there is a way to remove the grey frame that shows up around the entity picture on the HA Dashboard? What I really want is the picture to be edge to edge with no grey frame.
Hi
I am trying to create a picture element that will display the entity picture from relevant media player.
But nothing appears and there are no error messages.
If I were to paste the image url into a browser (after expanding the {{statesā¦entity_picture}} in the homeassistant template editor, then I will see the correct picture.
Any help will be appreciated.
I have the following code:
- image: https://xxx.xxx.xxx{{ states.media_player.roku_ultra_living_room.attributes.entity_picture }}
style:
left: 50%
top: 50%
width: 100%
#style: null
type: picture-elements
elements:
- type: image
```