I recently started using the
person component in Home Assistant, but I did not see an obvious way to associate a photo with the
person entities I wanted to keep track of. It turns out this is very straightforward, and you can either set the photo via the customization UI or manually using customize.yaml via the
entity_picture attribute. See https://www.home-assistant.io/docs/configuration/customizing-devices/#entity_picture.
To use the UI, go to the Configuration screen, then Customization:
person entity you want to assign a photo to, then select “Other” from the Pick an Attribute to Override options:
Enter “entity_picture” as the Attribute name and the URL to the photo as the Attribute value. In my case, I had stored the photos in the “www” folder within my Home Assistant config folder, but you could use the URL for a profile picture from Twitter, etc:
Be sure to save the changes, then you should see the photo instead of the generic person icon in the UI.