Google Maps location sharing - New thread

@dma_k
Thank you for replying. Okay, I will continue to check my setup then.

Solved.
I logged out all google accounts and logged in again, exported the cookie with Firefox.
Then the OSID line appeared in the cookie.

@dma_k Thanks for showing us the minimum list of required cookies.
That really helped.

I am starting to get, “Map error: g.co/staticmaperror” on the google map card.
Anybody here have it working now?

[Update] Solved again by turning off location sharing and on in the google account that I want to track.
With this, device_tracker started to track coordinates in device_tracker.google_maps_AAAAAAAAAAA.
Before that, there were no attributes in the device.

Its really strange:
The homeassistant logs give me an error:

2023-01-11 07:08:53.437 ERROR (SyncWorker_7) [homeassistant.components.google_maps.device_tracker] The cookie file provided does not provide a valid session. Please create another one and try again
2023-01-11 07:08:53.491 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy google_maps

But when I try the python script from github, it works perfectly.

I am quite new to home-assistant. Does it make sense to send out the data from the python script by mqtt? How is the data from the location sharing normally integrated in home-assistant?