Ver Fonte

Hellnar: rename preset_mode to hvac_mode.

These should have been the hvac modes, but were mislabelled as presets.
Jason Rumney há 4 anos atrás
pai
commit
89f9e50a5d

+ 2 - 2
custom_components/tuya_local/devices/hellnar_heatpump.yaml

@@ -19,7 +19,7 @@ primary_entity:
     - id: 3
     - id: 3
       name: temperature
       name: temperature
       type: integer
       type: integer
-      constraint: preset_mode
+      constraint: hvac_mode
       conditions:
       conditions:
         - dps_val: cold
         - dps_val: cold
           range:
           range:
@@ -37,7 +37,7 @@ primary_entity:
         - dps_val: wind
         - dps_val: wind
           invalid: true
           invalid: true
     - id: 4
     - id: 4
-      name: preset_mode
+      name: hvac_mode
       type: string
       type: string
       mapping:
       mapping:
         - dps_val: auto
         - dps_val: auto