Device_tracker customizations (name, gravatar) ignored

I’ve finally gotten my device tracking working. The only solution that was stable (out of trying ping and nmap) was using IFTTT on my Google Wifi, so now it sends a request through Webhooks whenever specific devices connect to/disconnect from our Wifi.

I’m still using the built in device_tracker functionality though. This is what I have in my config:

device_tracker:

Empty since the home and not_home status are set through scripts. Then in known_devices I have (replaced the email addresses for privacy):

erik:
  hide_if_away: false
  name: Erik
  track: false
  gravatar: [email protected]

adabelle:
  hide_if_away: false
  name: Adabelle
  track: false
  gravatar: [email protected]

In Home Assistant it is ignoring the settings in this file (at least name and gravatar, those are the ones I’ve tested so far). I’m assuming it’s because my device_tracker field in the config is empty, but I don’t want to have one that’s unstable. Any suggestions?

Sorry for the late answer on this topic…

IFTTT can left out as extra link.
There is a simpler option i think.
Owntracks is one of them.
does tracking based on Macadres of my devices

Home assistant is checking the router is a device is connected with local wifi
and then reports the device home or away in Homeass.

About the script:
This is mine script working flawless:

88**22**7e12:
  hide_if_away: false
  icon:
  mac: 88:**:22:**:7e:12
  name: Alex
  picture:
  gravatar: "homas*******@hotmail.nl"
  track: true

Gravatar wil overwrite picture if both are filled in.