Explorar el Código

fix: int type for insertion_callbacks in MQTTService

Silas Gruen hace 5 meses
padre
commit
e10467e050
Se han modificado 1 ficheros con 1 adiciones y 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")