소스 검색

Made temperature DPs optional to match the device whether it is set to celsius or fahrenheit

LunarEclipse 10 달 전
부모
커밋
6f992adb41
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      custom_components/tuya_local/devices/fral_supercool_airconditioner_fsc08.yaml

+ 4 - 0
custom_components/tuya_local/devices/fral_supercool_airconditioner_fsc08.yaml

@@ -25,6 +25,7 @@ entities:
       - id: 2
       - id: 2
         type: integer
         type: integer
         name: temperature
         name: temperature
+        optional: true
         unit: C
         unit: C
         range:
         range:
           min: 17
           min: 17
@@ -33,6 +34,7 @@ entities:
         type: integer
         type: integer
         name: current_temperature
         name: current_temperature
         readonly: true
         readonly: true
+        optional: true
         unit: C
         unit: C
         range:
         range:
           min: 0
           min: 0
@@ -63,6 +65,7 @@ entities:
         type: integer
         type: integer
         name: temp_current_f
         name: temp_current_f
         readonly: true
         readonly: true
+        optional: true
         unit: F
         unit: F
         range:
         range:
           min: 32
           min: 32
@@ -70,6 +73,7 @@ entities:
       - id: 24
       - id: 24
         type: integer
         type: integer
         name: temp_set_f
         name: temp_set_f
+        optional: true
         unit: F
         unit: F
         range:
         range:
           min: 63
           min: 63