Fix demo (#23087)
* Fix demo * Fix types * Fix all the things * Fix type * Fix test * Lint
This commit is contained in:
1 parent
1d2e9b6915
commit
6b0180f753
20 files changed
+137
-200
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user