Upgrade locationsharinglib to 2.0.7 (#14640)
parent
2f4c5f949b
commit
13859388c1
|
@ -4,19 +4,20 @@ Support for Google Maps location sharing.
|
|||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/device_tracker.google_maps/
|
||||
"""
|
||||
import logging
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.components.device_tracker import (
|
||||
PLATFORM_SCHEMA, SOURCE_TYPE_GPS)
|
||||
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, ATTR_ID
|
||||
from homeassistant.const import ATTR_ID, CONF_PASSWORD, CONF_USERNAME
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.event import track_time_interval
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
from homeassistant.util import slugify
|
||||
|
||||
REQUIREMENTS = ['locationsharinglib==2.0.2']
|
||||
REQUIREMENTS = ['locationsharinglib==2.0.7']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -70,7 +71,7 @@ class GoogleMapsScanner(object):
|
|||
def _update_info(self, now=None):
|
||||
for person in self.service.get_all_people():
|
||||
try:
|
||||
dev_id = 'google_maps_{0}'.format(person.id)
|
||||
dev_id = 'google_maps_{0}'.format(slugify(person.id))
|
||||
except TypeError:
|
||||
_LOGGER.warning("No location(s) shared with this account")
|
||||
return
|
||||
|
|
|
@ -515,7 +515,7 @@ liveboxplaytv==2.0.2
|
|||
lmnotify==0.0.4
|
||||
|
||||
# homeassistant.components.device_tracker.google_maps
|
||||
locationsharinglib==2.0.2
|
||||
locationsharinglib==2.0.7
|
||||
|
||||
# homeassistant.components.sensor.luftdaten
|
||||
luftdaten==0.2.0
|
||||
|
|
Loading…
Reference in New Issue