Fix flaky websocket_api test (#95786)

This commit is contained in:
Erik Montnemery
2023-07-03 18:53:21 +02:00
committed by GitHub
parent 5712d12c42
commit 5f9da06e49

View File

@@ -1739,6 +1739,7 @@ async def test_execute_script_complex_response(
hass: HomeAssistant, hass_ws_client: WebSocketGenerator
) -> None:
"""Test testing a condition."""
await async_setup_component(hass, "homeassistant", {})
await async_setup_component(hass, "calendar", {"calendar": {"platform": "demo"}})
await hass.async_block_till_done()
ws_client = await hass_ws_client(hass)