Sfoglia il codice sorgente

Klarta humidifier: restrict spray to 4 levels

iot portal said 1-9, but actual device is 1-4

Issue #520
Jason Rumney 3 anni fa
parent
commit
80a6173b36

+ 1 - 11
custom_components/tuya_local/devices/klarta_humea_humidifier.yaml

@@ -89,19 +89,9 @@ secondary_entities:
             value: 3
           - dps_val: "4"
             value: 4
-          - dps_val: "5"
-            value: 5
-          - dps_val: "6"
-            value: 6
-          - dps_val: "7"
-            value: 7
-          - dps_val: "8"
-            value: 8
-          - dps_val: "9"
-            value: 9
         range:
           min: 1
-          max: 9
+          max: 4
   - entity: sensor
     name: Water level
     category: diagnostic