Open markussiegert opened 5 days ago
Logger: custom_components.tuya_local.config_flow Quelle: custom_components/tuya_local/config_flow.py:373 Adding Smoke Detector device with product id lsjnzox4skgduemo Logger: custom_components.tuya_local.config_flow Quelle: custom_components/tuya_local/config_flow.py:390 Device matches avatto_curtain_switch with quality of 29%. DPS: {"updated_at": 1731791491.7908413, "1": "2", "2": 0, "11": 0, "14": "high", "15": 100, "16": false, "101": false} Logger: custom_components.tuya_local.config_flow Quelle: custom_components/tuya_local/config_flow.py:396 Loaded device config smoke_detector.yaml 2024-11-16 22:11:35.954 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Not match for Smoke detector, DPs have incorrect type: [{'16': 'str'}] 2024-11-16 22:11:35.959 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Loaded device config snt957w_de_cbu_temp_humidity.yaml 2024-11-16 22:11:36.942 WARNING (MainThread) [custom_components.tuya_local.config_flow] Adding Smoke Detector device with product id lsjnzox4skgduemo 2024-11-16 22:11:36.943 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches avatto_curtain_switch with quality of 29%. DPS: {"updated_at": 1731791491.7908413, "1": "2", "2": 0, "11": 0, "14": "high", "15": 100, "16": false, "101": false}
lsjnzox4skgduemo
Smoke Detector
Product Category: ywbj Silence: code: "16" Smoke Detection State: code: "1" Detected Smoke: code: "2" User Test: code: "101" Fault Alarm: code: "11" Battery level state: code: "14" Battery Level: code: "15" Code: smoke_sensor_status Type: Enum Values: {"range": ["alarm", "normal"]} Code: smoke_sensor_value Type: Integer Values: {"unit": "", "min": 0, "max": 100, "scale": 1, "step": 1} Code: battery_state Type: Enum Values: {"range": ["low", "middle", "high"]} Code: battery_percentage Type: Integer Values: {"unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1} Code: muffling Type: Boolean Values: "{true,false}"
Supported device from #2403 is not recognized
I downloaded the corrected Yaml file and it works. Thank you
Log message
Product ID
lsjnzox4skgduemo
Product Name
Smoke Detector
DPS information
Information about how the device functions
Supported device from #2403 is not recognized