Sfoglia il codice sorgente

Update trucool_tc1160_airconditioner.yaml

Max temp float to int
Felwat 8 mesi fa
parent
commit
e477db9269

+ 1 - 4
custom_components/tuya_local/devices/trucool_tc1160_airconditioner.yaml

@@ -31,10 +31,7 @@ entities:
         unit: C
         unit: C
         range:
         range:
           min: 15
           min: 15
-          max: 31.12
-          # I set max with an extra .12 to account for temperature unit
-          # conversion shenanigans. (88°F = 31.1111°C) The AC automaticaly
-          # rounds floats to the nearest whole.
+          max: 31
         mapping:
         mapping:
           - constraint: temperature_unit
           - constraint: temperature_unit
             conditions:
             conditions: