Google Maps Device Tracker – Cookies Expiring Within 24 Hours

Hi all,
I’m running into an issue with the Google Maps custom integration that l use for people tracking where the cookies expire in under 24 hours within this integration, even though the integration reports they’ve been renewed for a year.

GitHub issue for reference:
`[https://github.com/pnbruckner/ha-google-maps/issues/47]

The Issue

  • Integration works immediately after generating cookies
  • Within a day or less: “Authentication expired”
  • Regenerating cookies only fixes it temporarily
  • Another user on GitHub is seeing the same behaviour

Has Anyone Else Run Into This?
This integration worked flawlessly for about a year, but after renewing the cookies recently, the issue started appearing almost immediately. I’m now seeing authentication expire within a day of generating new cookies.

Thanks in advance!!

Maybe it is the way the url header parameters are passed, and the session results decoded, including reading the cookie files?
Doesn’t voluptuous handle this as part of web scraping? Request session and header User Agents? Consent?
Further reading:

https://medium.com/@swiftproxy/mastering-scraping-google-maps-with-python-for-data-extraction-d38c11c0e8b1