From 7f7be280a00f72875d0766412df1b90bd0401dc8 Mon Sep 17 00:00:00 2001 From: Jesper Lodin Date: Tue, 11 Jun 2024 13:22:28 +0000 Subject: [PATCH] fix typings --- viseron/components/webserver/websocket_api/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viseron/components/webserver/websocket_api/commands.py b/viseron/components/webserver/websocket_api/commands.py index 30d26c80d..117235ab8 100644 --- a/viseron/components/webserver/websocket_api/commands.py +++ b/viseron/components/webserver/websocket_api/commands.py @@ -43,7 +43,7 @@ LOGGER = logging.getLogger(__name__) -def websocket_command(schema: vol.Schema | dict[Any, Any]) -> Callable: +def websocket_command(schema: dict[Any, Any]) -> Callable: """Websocket command decorator.""" command = schema["type"]