mirror of
https://github.com/esphome/esphome.git
synced 2025-02-12 16:08:19 +00:00
lint
This commit is contained in:
parent
250d82e0c8
commit
b047038adb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user