-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add show_as_state options to Life360 #24725
Conversation
This pull request has been mentioned on Home Assistant Community. There might be relevant details there: |
This pull request has been mentioned on Home Assistant Community. There might be relevant details there: https://community.home-assistant.io/t/life360-device-tracker-platform/52406/1139 |
# If user wants driving or moving to be shown as state, and current | ||
# location is not in a HA zone, then set location name accordingly. | ||
loc_name = None | ||
active_zone = run_callback_threadsafe( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a future PR, this should all become async.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep
Thanks! |
Description:
The original Life360 custom integration had a feature whereby the entity's state could be set to driving or moving if the device was not in a HA zone and the Life360 server indicated the device was driving or moving, respectively. This feature was removed when submitted to become a standard integration.
Users have requested this feature be added to the standard integration.
Related issue (if applicable): N/A
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#9684
Example entry for
configuration.yaml
(if applicable):Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed: