diff --git a/homeassistant/components/device_tracker/googlehome.py b/homeassistant/components/device_tracker/googlehome.py index 4ab76905478..575d9688493 100644 --- a/homeassistant/components/device_tracker/googlehome.py +++ b/homeassistant/components/device_tracker/googlehome.py @@ -14,7 +14,7 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['ghlocalapi==0.0.1'] +REQUIREMENTS = ['ghlocalapi==0.1.0'] _LOGGER = logging.getLogger(__name__) @@ -40,7 +40,7 @@ class GoogleHomeDeviceScanner(DeviceScanner): def __init__(self, hass, config): """Initialize the scanner.""" from ghlocalapi.device_info import DeviceInfo - from ghlocalapi.bluetooth import BluetoothScan + from ghlocalapi.bluetooth import Bluetooth self.last_results = {} @@ -50,7 +50,7 @@ class GoogleHomeDeviceScanner(DeviceScanner): session = async_get_clientsession(hass) self.deviceinfo = DeviceInfo(hass.loop, session, self._host) - self.scanner = BluetoothScan(hass.loop, session, self._host) + self.scanner = Bluetooth(hass.loop, session, self._host) async def async_connect(self): """Initialize connection to Google Home.""" diff --git a/requirements_all.txt b/requirements_all.txt index 9e129753dbb..baa41f0b7dd 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -422,7 +422,7 @@ geojson_client==0.3 georss_client==0.4 # homeassistant.components.device_tracker.googlehome -ghlocalapi==0.0.1 +ghlocalapi==0.1.0 # homeassistant.components.sensor.gitter gitterpy==0.1.7