mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
Update RitAssist to support maximum speed and current address (#16037)
Update RitAssist dependency to 0.9.2 so we support fetching the current maximum speed and address for a device.
This commit is contained in:
committed by
Martin Hjelmare
parent
9f0adc16ad
commit
ec2e94425e
@ -14,7 +14,7 @@ from homeassistant.components.device_tracker import PLATFORM_SCHEMA
|
||||
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD
|
||||
from homeassistant.helpers.event import track_utc_time_change
|
||||
|
||||
REQUIREMENTS = ['ritassist==0.5']
|
||||
REQUIREMENTS = ['ritassist==0.9.2']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@ -78,6 +78,10 @@ class RitAssistDeviceScanner:
|
||||
for device in devices:
|
||||
if (not self._include or
|
||||
device.license_plate in self._include):
|
||||
|
||||
if device.active or device.current_address is None:
|
||||
device.get_map_details()
|
||||
|
||||
self._see(dev_id=device.plate_as_id,
|
||||
gps=(device.latitude, device.longitude),
|
||||
attributes=device.state_attributes,
|
||||
|
@ -1227,7 +1227,7 @@ rflink==0.0.37
|
||||
ring_doorbell==0.2.1
|
||||
|
||||
# homeassistant.components.device_tracker.ritassist
|
||||
ritassist==0.5
|
||||
ritassist==0.9.2
|
||||
|
||||
# homeassistant.components.notify.rocketchat
|
||||
rocketchat-API==0.6.1
|
||||
|
Reference in New Issue
Block a user