Skip to content
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 #9684

Merged
merged 1 commit into from
Jun 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions source/_components/life360.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ prefix:
required: false
type: string
default: life360
show_as_state:
description: If device is not in a Home Assistant zone, it is determined to be driving (see attribute of same name) and `driving` is specified, the state of entity will be set to `driving`. If device is not in a zone, it is determined to be moving and `moving` is specified, then state of entity will be set to `moving`.
required: false
type: [string, list]
warning_threshold:
description: See [Communication Errors](#communication-errors) for a detailed description.
required: false
Expand Down Expand Up @@ -166,6 +170,9 @@ life360:
max_gps_accuracy: 200
max_update_wait:
minutes: 45
show_as_state:
- driving
- moving
# Set comm error thresholds so first is not logged,
# second is logged as a WARNING, and third and fourth
# are logged as ERRORs.
Expand Down