mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Merge pull request #1523 from Bart274/patch-1
add gps_accuracy and battery information to the see function
This commit is contained in:
commit
5b2093ebc1
@ -82,7 +82,9 @@ def see(hass, mac=None, dev_id=None, host_name=None, location_name=None,
|
||||
(ATTR_DEV_ID, dev_id),
|
||||
(ATTR_HOST_NAME, host_name),
|
||||
(ATTR_LOCATION_NAME, location_name),
|
||||
(ATTR_GPS, gps)) if value is not None}
|
||||
(ATTR_GPS, gps),
|
||||
(ATTR_GPS_ACCURACY, gps_accuracy),
|
||||
(ATTR_BATTERY, battery)) if value is not None}
|
||||
hass.services.call(DOMAIN, SERVICE_SEE, data)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user