custom-components / places

Component to integrate with OpenStreetMap Reverse Geocode (places)
GNU General Public License v3.0
110 stars 22 forks source link

Place entity value not updated to Home #284

Closed pedropombeiro closed 3 months ago

pedropombeiro commented 3 months ago

I have person entities that are made up by the iCloud3 sensor and the UniFi router sensor. When a person enters home, it is detected by the router and that causes the person entity to be seen as home. However, the respective place entity is never updated and still points to the last geocoded location.

Snuffy2 commented 3 months ago

That is due to the way that router device_trackers work. They don't have lat/long in their attributes for places to get a location from. I'd recommend changing the places sensor to just use the iCloud3 device_tracker and not your person entity.

pedropombeiro commented 3 months ago

I'd recommend changing the places sensor to just use the iCloud3 device_tracker and not your person entity.

That's what I did initially, but I wanted to use the router device tracker to allow HA to more quickly recognize when someone arrives home (without constantly polling iCloud for position updates). In any case, this is not a big deal - I was just wondering if it was a bug in the implementation, so I'll close this issue. Thanks for the explanation!