pnbruckner/ha-life360 ? reverse-engineered prompt
Reverse engineered prompt
Build me a Home Assistant custom integration for Life360 that creates device tracker entities for people in my Life360 circles and keeps their location updated. I want it to work as a normal integration in Home Assistant, with a setup flow where I can add one or more Life360 accounts and choose how to log in, either with email and password or an access token. Please include sensible options for things like ignoring inaccurate GPS updates, setting a driving speed threshold, and choosing whether driving shows as the state.
It should handle the fact that Life360 can be slow or rate limit requests, so if circle or member data can’t be loaded right away, it should retry in the background and then create the trackers once it succeeds. I’d also like the circle and member list to be saved locally so restarts are faster, and the integration should keep working after Home Assistant restarts. If you need to check current Home Assistant or Life360 behavior online, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit