From 690ef3de8f3c8f7bace50b48e86efa523d38ead2 Mon Sep 17 00:00:00 2001 From: Piotr Szulc Date: Sun, 24 Nov 2024 15:11:45 +0100 Subject: [PATCH] snt957w_tde_temp: high temp. limit should be optional This device was working fine with tuya-local as long as it was added to Tuya app. But once I used cloudcut it, suddenly tuya-local could not recognize it anymore (saying that device is unsupported). Inspection of the yaml revealed that the device broadcasts matching dpids except for dpid 10. This could be because I removed the device from Tuya app and it reset to factory defaults. TLDR: making this optional makes the device detectable again. --- custom_components/tuya_local/devices/snt957w_tde_temp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/tuya_local/devices/snt957w_tde_temp.yaml b/custom_components/tuya_local/devices/snt957w_tde_temp.yaml index df91995e18b..c8e0657b42b 100644 --- a/custom_components/tuya_local/devices/snt957w_tde_temp.yaml +++ b/custom_components/tuya_local/devices/snt957w_tde_temp.yaml @@ -42,6 +42,7 @@ secondary_entities: max: 1200 mapping: - scale: 10 + optional: true - entity: number name: Low temperature limit category: config