Explorar o código

fix: int type for insertion_callbacks in MQTTService

Silas Gruen hai 5 meses
pai
achega
e10467e050
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")