Просмотр исходного кода

ElectriQ EcoSilent 14HPW: make fahrenheit dps optional

Fahrenheit dps appear to not be sent when the device is set to Celsius.
This also makes the config compatible with 12HPW models.

Discussion #1130
Jason Rumney 1 год назад
Родитель
Сommit
c214487913

+ 8 - 0
custom_components/tuya_local/devices/electriq_ecosilent14hpw_aircon.yaml

@@ -33,6 +33,9 @@ primary_entity:
           conditions:
             - dps_val: f
               value_redirect: temperature_f
+              range:
+                min: 62
+                max: 86
     - id: 3
       name: current_temperature
       type: integer
@@ -99,11 +102,16 @@ primary_entity:
     - id: 23
       name: current_temperature_f
       type: integer
+      optional: true
       hidden: true
     - id: 24
       name: temperature_f
       type: integer
+      optional: true
       hidden: true
+      range:
+        min: 62
+        max: 86
     - id: 101
       name: swing_mode
       type: boolean