Explorar o código

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

rale %!s(int64=2) %!d(string=hai) anos
pai
achega
5be9874175

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

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