Known_devices.yaml not populating (yes i read the other posts)

Really new to all this so bear with me.

I’ve added the owntracks add on to my hass.io an using the badges I can see the entity and it does update an shows the device_tracer in dev tools.

Now I wanted to add a profile picture, so I put the jpg in www, but there was no know_devices.yaml to add the picture: /local/mypic.jpg line to. I created it with samba, restarted sent move updates manually and automatically from the android app, but still nothing in the file. Thought maybe it was a permissions issue, but even ssh into hass.io and did a touch command to have the blank file created that way. I’ve heard it can take a while to update, but it has been 24 hours of me driving in auto mode and spamming updates in manual mode still nothing in the file. To be clear the entity is working as it shows me moving around town on the map, but the file is blank.

Is there something that needs to go in the config? I don’t see any blocks for device tracker or owntracks.

Not sure that’s the way to achieve what you’re after.
The way I’ve achieved this is via the customisations:

customize:
  device_tracker.lolo:
    friendly_name: 'Lolo'
    entity_picture: /local/Lolo_Avatar.jpg

What file does that go in config?

Think I’m heading in the right direction, yaml is very new to me so understading how the files all tie together is key. Following this for now, I’ll post back how it goes. I didn’t even have advanced mode on.

yes in configuration.yaml under the homeassistant header:

known_devices.yaml has been deprecated I believe. So customizing is the way you want to go.

Ok still no joy. Restarted hass probably a syntax issue, but this error pops up.

extra keys not allowed @ data[‘customize’][‘customize’]

Here is the HA part of my config.

homeassistant:
  customize: !include customize.yaml
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.100.0/24
        - 127.0.0.1
        - ::1
      allow_bypass_login: true
    - type: homeassistant

Here is the customize.yaml

customize:
  device_tracker.brad_bradphone:
    friendly_name: 'Brad'
    entity_picture: /local/brad.jpg

You are defining customize: twice. You cannot do that. To use the yaml method, you only define customize: ONCE. inside the file, try deleting that line and move everything back 2 spaces

But you SHOULD be using the GUI to customize stuff.

Configuration, customization, select the entity from the list and pick what you want to customize.

Aww ok so if I use the GUI and in this example the entity doesn’t have a picture attribute I can just add it using other?

Yep. Just use the same format you would with the yaml file.

Perfect thanks. If i never touch a yaml file it would be fine by me. Is nice to know how they work though coming form other languages. Good to know the !include really just starts reading the file as if you typed it hence the double command.