浏览代码

fix: int type for insertion_callbacks in MQTTService

Silas Gruen 5 月之前
父节点
当前提交
e10467e050
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/services/mqtt_service.py

+ 1 - 1
src/services/mqtt_service.py

@@ -28,7 +28,7 @@ class MQTTService:
         self.client.on_message = self.on_message
 
         self.devices: dict[int, int] = {}
-        self.insertion_callbacks: Dict[str, Dict[int, Callable]] = {}
+        self.insertion_callbacks: Dict[int, Dict[int, Callable]] = {}
 
         if debug:
             logger.info("No MQTT in debug mode")