Using a different machine with a gui and python installed (it was a linux VM, but probably could be your main windows machine, if you install python)
I installed mapscookiegettercli with ‘pip3 install maps cookiegettercli’
Then ran maps-cookie-getter from my ~/.local/bin folder
That loaded up firefox browser and asked me to log in to google
I logged in with the user that I want home assistant to use for tracking and closed the browser
I copied the file location_sharing.cookies to my home assistant config folder (same folder as configuration.yaml) and renamed it to overwrite the existing cookies file.
config/.google_maps_location_sharing.cookies.google_user_gmail.com (the last bit depends on your google user ID)
I restarted home assistant - it worked!
I did not update locationsharinglib but am still using the same version that ships as standard with home assistant
https://www.home-assistant.io/components/google_maps/
Using a different machine with a gui and python installed (it was a linux VM, but probably could be your main windows machine, if you install python) I installed mapscookiegettercli with ‘pip3 install maps cookiegettercli’ Then ran maps-cookie-getter from my ~/.local/bin folder That loaded up firefox browser and asked me to log in to google I logged in with the user that I want home assistant to use for tracking and closed the browser I copied the file location_sharing.cookies to my home assistant config folder (same folder as configuration.yaml) and renamed it to overwrite the existing cookies file. config/.google_maps_location_sharing.cookies.google_user_gmail.com (the last bit depends on your google user ID) I restarted home assistant - it worked! I did not update locationsharinglib but am still using the same version that ships as standard with home assistant