Added description for source priority.#8773
Merged
Merged
Conversation
fabaff
approved these changes
Feb 28, 2019
| The person component allows to connect device tracker entities to one or more person entities. The last state update of a connected device tracker will set the state of the person. For example if you connect your router and your OwnTracks device as trackers to your person, the last state update from either the router or your OwnTracks device will set the state of your person. | ||
| The person component allows to connect device tracker entities to one or more person entities. The state updates of a connected device trackers will set the state of the person. When multiple device tracers used, the state of berson will be determined next way: | ||
|
|
||
| 1. If there are sources presenting status 'home', than latest of this sources will be taken. |
Member
There was a problem hiding this comment.
This isn't correct totally correct, since gps trackers are excluded from this group. This needs clarification. Please also add examples.
Contributor
Author
There was a problem hiding this comment.
@MartinHjelmare, I've corrected description in documentation, examples will be later. But I still haven't decided, should I really exclude GPS sources from 'home' sources or not. Seems to be that nothing changes for status, only difference is, which device will be presented as source.
Member
There was a problem hiding this comment.
Let's update the docs so it's correct according to the current source code first.
Then please open an architecture issue where we discuss the details of the implementation.
Thanks for responding quickly!
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Added description for source priority to Person (with examlpe).
Pull request in home-assistant (if applicable): home-assistant/core#21479
Checklist:
nextis for changes and new documentation that will go public with the next home-assistant release. Fixes, changes and adjustments for the current release should be created againstcurrent.