mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Add Accuracy to Google Location Sharing (#14039)
* Update locationsharinglib to 1.2.1 and add accuracy. * Change indents to match HA style
This commit is contained in:
parent
51f55bddb7
commit
c2bee496e2
@ -79,5 +79,6 @@ class GoogleMapsScanner(object):
|
|||||||
gps=(person.latitude, person.longitude),
|
gps=(person.latitude, person.longitude),
|
||||||
picture=person.picture_url,
|
picture=person.picture_url,
|
||||||
source_type=SOURCE_TYPE_GPS,
|
source_type=SOURCE_TYPE_GPS,
|
||||||
|
gps_accuracy=person.accuracy,
|
||||||
attributes=attrs
|
attributes=attrs
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user