소스 검색

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