Life 360 Integration - Invalid Authentication with correct details

can’t go to the life360 integration with new release of hass !!!

"Life360 500 Internal Server Error "

someone has the answer ???

thanks

Fixed in 2023.8.0b3.

2 Likes

Whats the highest version the manual fix will work for?
On one device, I have an old version of HA (Home Assistant Core 2022.6.6) running and this manual fix won’t work :frowning:

When I try to connect using 2022.6.6
image

In HA release 2022.10 and the life360 package release 5.0.0, the package was converted to aiohttp (i.e., async.) Therefore, any HA release before 2022.10 will not work with any life360 package version 5.0.0 or higher.

And, FWIW, the “manual fix” is not directly available via that link you included. It was on a branch that has since been deleted. Also, it was based on package version 5.5.0, which as mentioned above, is not compatible with the life360 integration in HA release 2022.6.6.

If you want to try and get your old system to work again, you would need to merge the following change into the life360 package installed on that system:

Update life360 endpoints · alexyao2015/life360-python@485e063 (github.com)

1 Like

This is perfect, thankyou!

As I’m running on Docker, within a NAS… I might have to SSH to the folder for Life 360?

Do you know the path?

On my system, it looks like:

/usr/local/lib/python3.10/site-packages/life360

I’m running a slightly older HA, which uses Python 3.10. Your mileage may vary.

If you can’t access that location, you could always try copying version 4.1.1 of the life360 package to your config folder, and then modify that. Make a folder named life360 in your config folder (I think it would then be /config/life360), copy the package files there, and then modify accordingly.

1 Like

Thanks Phil, this is all useful info and will give it a go.