How to assign local picture to entity card

Hi, with Lovelace I no longer have my local pictures getting assigned to the devices I am tracking on an entity card. Can someone point me in the right direction please…

Does Lovelace use ‘known_devices.yaml’ ?
Does anyone have an config example of how to assign an image on an entity card?

Thanks for your help!

I’m on 0.81.6 and my local pictures are working OK.

   galaxys8:
     hide_if_away: false
     icon:
     mac: A0:C9:A0:A3:08:FB
     name: My Phone
     picture: /local/familyguyme_14.png
     track: true
     vendor: Murata Manufacturing Co., Ltd.

   - type: entity-filter
     show_header_toggle: false
     state_filter: 
       - home
     entities:
       - device_tracker.galaxys8
       - device_tracker.iphone
       - device_tracker.androiddd631f7efd8df296
       - device_tracker.megansiphone
       - device_tracker.galaxys9
    card:
      type: glance
      title: Who's Home
      show_state: false
      show_name: false

Do we have any limitations on local picture size? It was a limitation with Hassio and did not allow large size images and I limited it to max 64x64 pixel in size. Does it all picture formats and sizes?

I read somewhere the size was a maximum of 200x200 and I use a mixture of JPG and PNG files with no issues.

and don’t forget that the file path of /local really means /config/www (in has.io anyway).

Thank you finity… I have no clue why this didn’t work for me, but I got the pics back after I deleted everything out of the ui-lovelace.yaml file, expect for the devices I am tracking. Thanks for your help and sharing your config!

Did you find solution to your problem? Recently I created Lovelace and the local icons which are working in HA old UI and not working in Lovelace UI, I am running 0.82.1. The below yaml working in old interface:

  moonphases:
    entity_id: sensor.moon
    friendly_name: 'Moon'
    value_template: "{{ states('sensor.moon').title().replace('_',' ').replace(' ','') }}"
    entity_picture_template: "{% set state = states('sensor.moon').title().replace('_','').replace(' ','') %} {{ '/local/{}.png'.format(state) }}


MoonPhases
but in Lovelace the below View & Card:

views:
  - title: Climate
    entity_picture: /local/climate.jpg
    cards:
      - type: weather-forecast
        entity: weather.dark_sky
      - type: thermostat
        entity: climate.family_room
      - type: vertical-stack
        cards:
        - type: horizontal-stack
          cards:
            - type: sensor
              entity: sensor.moonphases
              name: Moon Phase
              graph: none

what worked for me was copied the lovelace.yaml file > deleted all the device tracker code I added and did not show the pics > restarted HASSIO > copied the code back from the copy > restarted HASSIO… pics showed up