Merge pull request #18879 from ludeeus/multiple-googlehome

Fix stability issues with multiple googlehome units
This commit is contained in:
Daniel Høyer Iversen 2018-12-02 08:33:33 +01:00 committed by GitHub
commit 2c36f4411e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ from homeassistant.components.device_tracker import (
DOMAIN, PLATFORM_SCHEMA, DeviceScanner)
from homeassistant.const import CONF_HOST
REQUIREMENTS = ['ghlocalapi==0.1.0']
REQUIREMENTS = ['ghlocalapi==0.3.5']
_LOGGER = logging.getLogger(__name__)
@ -89,4 +89,5 @@ class GoogleHomeDeviceScanner(DeviceScanner):
devices[uuid]['btle_mac_address'] = device['mac_address']
devices[uuid]['ghname'] = ghname
devices[uuid]['source_type'] = 'bluetooth'
await self.scanner.clear_scan_result()
self.last_results = devices

View File

@ -426,7 +426,7 @@ geojson_client==0.3
georss_client==0.4
# homeassistant.components.device_tracker.googlehome
ghlocalapi==0.1.0
ghlocalapi==0.3.5
# homeassistant.components.sensor.gitter
gitterpy==0.1.7