Rework how the Person entity determines which device_tracker to use #1179
Unanswered
Hypfer
asked this question in
Entity Models
Replies: 1 comment
-
Would strongly prefer the GPS coordinates of the zone instead of real GPS coordinates to reduce the number of meaningless attribute changes within recorder. I don't need to know that I "moved" from 45.00001 to 45.00003 in latitude, for example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As @frenck suggested, moving the discussion from the PR here and reposting it in the process:
Proposed change
When playing around with the demo instance, I saw that person entities had this map view when opening the more-info dialog
When playing around with my HA instance, they didn't.
This confused me, so I looked at the
person
implementation.I'd argue that if the latest tracker is
home
and there is also a latestgps
tracker that is alsohome
, there is no point in not using thegps
tracker, as it will provide a superset of the data the other non-gps tracker could provide.While the
state
of the entity is the same, the difference is that theperson
only haslatitude
/longitude
attributes if the source of the location data is a gps tracker.Without those two, it simply vanishes from the default map view.
You also just get a boring history more-info pop up like this one:
instead of the small map like in the screenshot from the demo instance.
Other approaches to be considered
@edenhaus already suggested a slightly different approach:
Beta Was this translation helpful? Give feedback.
All reactions