Skip to content

Commit

Permalink
Bumped ghlocalapi to 0.1.0 (home-assistant#18584)
Browse files Browse the repository at this point in the history
* mumped ghlocalapi to 0.1.0

* update requirement_all.txt
  • Loading branch information
eliseomartelli authored and cgarwood committed Nov 19, 2018
1 parent 14ad742 commit 57f7e7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/device_tracker/googlehome.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
DOMAIN, PLATFORM_SCHEMA, DeviceScanner)
from homeassistant.const import CONF_HOST

REQUIREMENTS = ['ghlocalapi==0.0.1']
REQUIREMENTS = ['ghlocalapi==0.1.0']

_LOGGER = logging.getLogger(__name__)

Expand All @@ -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 = {}

Expand All @@ -50,7 +50,7 @@ def __init__(self, hass, config):

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."""
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57f7e7e

Please sign in to comment.