Renaming google maps location sharing entity

just installed google maps location sharing component - seems to work well! however, my device tracker is called:

google_maps_107177114942911518113:
  hide_if_away: false
  icon:
  mac:
  name: google maps 107177114942911518113
  picture: https://lh5.googleusercontent.com/-0__BZbs80k4/AAAAAAAAAAI/AAAAAAAAAcc/qA585gbqxvi/photo.jpg
  track: true

how can i change the device_tracker entity_name to something a bit friendlier for automation? ie with my luci platform device_trackers i am able to just to rename the entity in known_devices.yaml - but when i do the same for these google maps entities, it doesn’t work.

1 Like

friendly_name does not change the entity_id

I realized that wasn’t what you were looking for right after I replied - sorry! Unfortunately I haven’t played with this platform yet to know of a potential solution.

Yeah I’m looking for the same thing. Works great, but the sensor is pretty annoying with an ugly system name.

If you ask me i dont think using a single device tracker is the way to go. Use a group or bayesian sensor to combine them into 1 so you can get more precise location. I am using this device tracker in a bayesian sensor. I also added it to a tracked users group and all my automations occur off of that.

yep; agreed - i already use the lede and bluetooth device trackers also. just don’t want to type the rather long and forgettable device_tracker name for my automations…

You need to edit the customize.yaml to add a friendly name; In your case:

device_tracker.google_maps_107177114942911518113:
  friendly_name: yee379
1 Like

Tried the above : come up with this error : extra keys not allowed @ data[‘customize’] any ideas???

probably because it was not formatted corrected.
the original post is now edited to show the indentation

Thanks very much works a treat, need to double check my spacing !! :wink: