Map card (or Map view) shows entities with “latitude” & “longitude” attributes.
Usually images are set to “person” & “device_tracker” entities via customization.
For “person” entities it may be done in UI for “people”.
For “device_tracker” - only via yaml customization (somewhere here described).
Thanks a lot … this is to show the picture of my car on the map, instead of a circle with letters in it.
I have successfully put the picture in the www folder. it is accessible via /local/bmw-picture.png
I am wondering where I need to “map” this picture with the entity, now …
On the entity config itself, I can not assign it :
… as you can see, it is only 4 lines … I think I need to put the link to the picture there somewhere ?
the link you mention is not helping lee that much
ok - I found out how to show my car’s picture on the Map card.
First, upload the picture (in png format from my side) in the HA, I did it using the “File editor” add-on I have installed. Using this, put the picture under “www”, so that is is accessible from “/local/”.
Then, edit the configuration.yaml adding this code :
homeassistant:
customize: !include customize.yaml
… This is to call a “customize.yaml” config file. As it was not existing yet, I have created it at the same level of “configuration.yaml” like this :
I just wanted to let you know I finally got the time to follow your guide, and it works perfectly. Thanks for the support! next step is to enter the tracking lines on the map…
I guess you need to play a bit with the original picture, try to center it, see what part of the picture HA takes to put in the circle … see here is my original picture :
It looks like it take the left part of the original picture
Maybe if you make the original picture the correct size directly, it will be better (I see in some topics they talk about a picture of 192x192 pixels) …