From 20960e182d213f6ae7e364f9ce0742cadbf83ba3 Mon Sep 17 00:00:00 2001 From: Zac West <74188+zacwest@users.noreply.github.com> Date: Sun, 22 May 2022 22:41:51 -0700 Subject: [PATCH] Log unknown websocket commands at info instead of error (#72336) --- homeassistant/components/websocket_api/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/websocket_api/connection.py b/homeassistant/components/websocket_api/connection.py index cdcee408070..0280863f83e 100644 --- a/homeassistant/components/websocket_api/connection.py +++ b/homeassistant/components/websocket_api/connection.py @@ -93,7 +93,7 @@ class ActiveConnection: return if msg["type"] not in handlers: - self.logger.error("Received invalid command: {}".format(msg["type"])) + self.logger.info("Received unknown command: {}".format(msg["type"])) self.send_message( messages.error_message( cur_id, const.ERR_UNKNOWN_COMMAND, "Unknown command."