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

fix(breville_airrounderplus_heater): fix hvac_mode mapping

Issue #3582
Jason Rumney 5 месяцев назад
Родитель
Сommit
0d2aee3e4f
1 измененных файлов с 6 добавлено и 7 удалено
  1. 6 7
      custom_components/tuya_local/devices/breville_airrounderplus_heater.yaml

+ 6 - 7
custom_components/tuya_local/devices/breville_airrounderplus_heater.yaml

@@ -16,13 +16,12 @@ entities:
           - dps_val: true
           - dps_val: true
             value: heat
             value: heat
             hidden: true
             hidden: true
-            mapping:
-              - constraint: preset_mode
-                conditions:
-                  - dps_val: heat_0
-                    value: fan_only
-                  - dps_val: heat_mid
-                    value: heat
+            constraint: preset_mode
+            conditions:
+              - dps_val: heat_0
+                value: fan_only
+              - dps_val: heat_mid
+                value: heat
       - id: 2
       - id: 2
         type: integer
         type: integer
         name: temperature
         name: temperature