Fix stability issues with multiple units
parent
1d717b768d
commit
6de0ed3f0a
|
@ -14,7 +14,7 @@ from homeassistant.components.device_tracker import (
|
||||||
DOMAIN, PLATFORM_SCHEMA, DeviceScanner)
|
DOMAIN, PLATFORM_SCHEMA, DeviceScanner)
|
||||||
from homeassistant.const import CONF_HOST
|
from homeassistant.const import CONF_HOST
|
||||||
|
|
||||||
REQUIREMENTS = ['ghlocalapi==0.1.0']
|
REQUIREMENTS = ['ghlocalapi==0.3.4']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -77,8 +77,8 @@ class GoogleHomeDeviceScanner(DeviceScanner):
|
||||||
async def async_update_info(self):
|
async def async_update_info(self):
|
||||||
"""Ensure the information from Google Home is up to date."""
|
"""Ensure the information from Google Home is up to date."""
|
||||||
_LOGGER.debug('Checking Devices...')
|
_LOGGER.debug('Checking Devices...')
|
||||||
await self.scanner.scan_for_devices()
|
|
||||||
await self.scanner.get_scan_result()
|
await self.scanner.get_scan_result()
|
||||||
|
await self.scanner.scan_for_devices()
|
||||||
ghname = self.deviceinfo.device_info['name']
|
ghname = self.deviceinfo.device_info['name']
|
||||||
devices = {}
|
devices = {}
|
||||||
for device in self.scanner.devices:
|
for device in self.scanner.devices:
|
||||||
|
|
|
@ -422,7 +422,7 @@ geojson_client==0.3
|
||||||
georss_client==0.4
|
georss_client==0.4
|
||||||
|
|
||||||
# homeassistant.components.device_tracker.googlehome
|
# homeassistant.components.device_tracker.googlehome
|
||||||
ghlocalapi==0.1.0
|
ghlocalapi==0.3.4
|
||||||
|
|
||||||
# homeassistant.components.sensor.gitter
|
# homeassistant.components.sensor.gitter
|
||||||
gitterpy==0.1.7
|
gitterpy==0.1.7
|
||||||
|
|
Loading…
Reference in New Issue