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

TYTE-D1: Fix current temperature scaling when set to Fahrenheit

rale пре 1 година
родитељ
комит
5be9874175
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      custom_components/tuya_local/devices/tyte_d1_thermostat.yaml

+ 2 - 0
custom_components/tuya_local/devices/tyte_d1_thermostat.yaml

@@ -79,6 +79,8 @@ primary_entity:
       type: integer
       name: current_temp_f
       hidden: true
+      mapping:
+        - scale: 10
 secondary_entities:
   - entity: number
     translation_key: timer