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 )