Преглед изворни кода

Avatto TRV06: update unit on calibration

- if C or F is used for relative temperatures, HA "converts" them when the user's temperature unit setting is different, which is wrong, because C to F conversion is not just scaling but a range shift as well. So relative temperatures such as calibration offset have to be in degrees without specifying the scale.
Jason Rumney пре 1 година
родитељ
комит
595e3d46d9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      custom_components/tuya_local/devices/avatto_trv06_radiatorvalve.yaml

+ 1 - 1
custom_components/tuya_local/devices/avatto_trv06_radiatorvalve.yaml

@@ -99,7 +99,7 @@ secondary_entities:
         type: integer
         optional: true
         name: value
-        unit: C
+        unit: °
         range:
           min: -9
           max: 9