Perhaps it depends on what entity it is?
For sensors you could use template sensor as a wrapper.
With customizing
person.xxx:
entity_picture: /local/pictures/people/xxx.png
or
switch.xxx:
entity_picture: /local/pictures/xxx.png
where is that local folder?
how to transfer the pic to the local folder?
I think it depends on what installation you have. Mine is in /config/www
.
Same question. I use Samba add-on.
so I have add the pic to: home_assistance/config/www/local/pictures/people/barak.png
and add the below row to the State attributes
entity_picture: /local/pictures/people/barak.png
and still the person entity is blanked, what I’m doing wrong?
anyone can help?
“/local” is mapped to config/www
If you created a local folder under www, it would be:
entity_picture: /local/local/pictures/people/barak.png
Most would not create another local folder under www. Instead, they would have:
/config/www/pictures/people/barak.png
and would reference it like:
entity_picture: /local/pictures/people/barak.png
… because /local/ points to the config/www folder.
Make sense?
thanks a lot, I took your advice, now its working
the second reply was posted to this topic 1 day ago…
sorry but I didn’t understand it as solution
any chance someone knows why the pic is rotated ?
the original photo is straight
I don’t know
and if you rotate it 90 degrees clockwise and upload to /www/?
tried it but still it didn’t work
do you mean that no matter what you upload its orientation is the same?
have you refreshed your screen/cleared cache/restarted HA?
One option is to add a unique version to the image file name after every rotation change you try. It will force the frontend to update. I use the date and time (YYYYMMDDHHMMSS).
Ex. /config/www/pictures/people/barak_v20200224180600.png
Sometimes caching issues can be hard to overcome even with forced page reloads in a browser.
since upgrading to 0.106 the picture is blanked
I have this in the customize.yaml
person.barak:
entity_picture: local/pictures/people/barak.jpg
person.almog:
entity_picture: local/pictures/people/barak.jpg
and this in the configuration.yaml
homeassistant:
customize: !include customize.yaml
any help please
a) roll back
b) search if there is an open issue on Github regarding your situation
c) open a new issue on Github if not b
Add / on front
entity_picture: /local/pictures/people/barak.jpg
thanks, very appreciate your help