Преглед изворни кода

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")