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

Hellnar: rename preset_mode to hvac_mode.

These should have been the hvac modes, but were mislabelled as presets.
Jason Rumney 4 лет назад
Родитель
Сommit
89f9e50a5d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      custom_components/tuya_local/devices/hellnar_heatpump.yaml

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

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