From 82060dd2423a0086e7ac79dd5396c5c6f4ea5a9f Mon Sep 17 00:00:00 2001 From: Casper Date: Tue, 9 Mar 2021 13:37:10 +0100 Subject: [PATCH] Fix typos (#2704) --- supervisor/homeassistant/websocket.py | 2 +- tests/homeassistant/test_websocket.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/supervisor/homeassistant/websocket.py b/supervisor/homeassistant/websocket.py index cab853a4b..793451ae2 100644 --- a/supervisor/homeassistant/websocket.py +++ b/supervisor/homeassistant/websocket.py @@ -119,7 +119,7 @@ class HomeAssistantWebSocket(CoreSysAttributes): and self._client.ha_version < MIN_VERSION[message_type] ): _LOGGER.info( - "WebSocket command %s is not supported untill core-%s. Ignoring WebSocket message.", + "WebSocket command %s is not supported until core-%s. Ignoring WebSocket message.", message_type, MIN_VERSION[message_type], ) diff --git a/tests/homeassistant/test_websocket.py b/tests/homeassistant/test_websocket.py index 18f28c8b8..823337a98 100644 --- a/tests/homeassistant/test_websocket.py +++ b/tests/homeassistant/test_websocket.py @@ -40,7 +40,7 @@ async def test_send_command_old_core_version(coresys: CoreSys, caplog): ) assert ( - "WebSocket command supervisor/event is not supported untill core-2021.2.4" + "WebSocket command supervisor/event is not supported until core-2021.2.4" in caplog.text )