diff --git a/esphome/dashboard/dashboard.py b/esphome/dashboard/dashboard.py index 5fb0a06bf3..d5bcee4156 100644 --- a/esphome/dashboard/dashboard.py +++ b/esphome/dashboard/dashboard.py @@ -307,7 +307,7 @@ class EsphomeCommandWebSocket(tornado.websocket.WebSocketHandler): await handlers[type_](self, json_message) @websocket_method("spawn") - async def handle_spawn(self, json_message): + async def handle_spawn(self, json_message: dict[str, Any]) -> None: if self._proc is not None: # spawn can only be called once return