mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 00:55:26 +02:00
Merge pull request #18879 from ludeeus/multiple-googlehome
Fix stability issues with multiple googlehome units
This commit is contained in:
@@ -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.5']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
@@ -89,4 +89,5 @@ class GoogleHomeDeviceScanner(DeviceScanner):
|
|||||||
devices[uuid]['btle_mac_address'] = device['mac_address']
|
devices[uuid]['btle_mac_address'] = device['mac_address']
|
||||||
devices[uuid]['ghname'] = ghname
|
devices[uuid]['ghname'] = ghname
|
||||||
devices[uuid]['source_type'] = 'bluetooth'
|
devices[uuid]['source_type'] = 'bluetooth'
|
||||||
|
await self.scanner.clear_scan_result()
|
||||||
self.last_results = devices
|
self.last_results = devices
|
||||||
|
@@ -426,7 +426,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.5
|
||||||
|
|
||||||
# homeassistant.components.sensor.gitter
|
# homeassistant.components.sensor.gitter
|
||||||
gitterpy==0.1.7
|
gitterpy==0.1.7
|
||||||
|
Reference in New Issue
Block a user