mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Bumped ghlocalapi to 0.1.0 (#18584)
* mumped ghlocalapi to 0.1.0 * update requirement_all.txt
This commit is contained in:
parent
14ad7428ea
commit
57f7e7eedc
@ -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.0.1']
|
REQUIREMENTS = ['ghlocalapi==0.1.0']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ class GoogleHomeDeviceScanner(DeviceScanner):
|
|||||||
def __init__(self, hass, config):
|
def __init__(self, hass, config):
|
||||||
"""Initialize the scanner."""
|
"""Initialize the scanner."""
|
||||||
from ghlocalapi.device_info import DeviceInfo
|
from ghlocalapi.device_info import DeviceInfo
|
||||||
from ghlocalapi.bluetooth import BluetoothScan
|
from ghlocalapi.bluetooth import Bluetooth
|
||||||
|
|
||||||
self.last_results = {}
|
self.last_results = {}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ class GoogleHomeDeviceScanner(DeviceScanner):
|
|||||||
|
|
||||||
session = async_get_clientsession(hass)
|
session = async_get_clientsession(hass)
|
||||||
self.deviceinfo = DeviceInfo(hass.loop, session, self._host)
|
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):
|
async def async_connect(self):
|
||||||
"""Initialize connection to Google Home."""
|
"""Initialize connection to Google Home."""
|
||||||
|
@ -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.0.1
|
ghlocalapi==0.1.0
|
||||||
|
|
||||||
# homeassistant.components.sensor.gitter
|
# homeassistant.components.sensor.gitter
|
||||||
gitterpy==0.1.7
|
gitterpy==0.1.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user