1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00
* Fix demo

* Fix types

* Fix all the things

* Fix type

* Fix test

* Lint
This commit is contained in:
Paulus Schoutsen
2019-04-14 16:59:06 -07:00
committed by GitHub
parent 1d2e9b6915
commit 6b0180f753
20 changed files with 137 additions and 200 deletions

View File

@@ -24,7 +24,7 @@ def hass_ws_client(aiohttp_client, hass_access_token):
"""Websocket client fixture connected to websocket server."""
async def create_client(hass, access_token=hass_access_token):
"""Create a websocket client."""
assert await async_setup_component(hass, 'websocket_api')
assert await async_setup_component(hass, 'websocket_api', {})
client = await aiohttp_client(hass.http.app)