瀏覽代碼

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
       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