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

Beca BHT002: fix hvac_action mapping

PR #2640
Jason Rumney 1 год назад
Родитель
Сommit
e6a7dd1cb4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      custom_components/tuya_local/devices/beca_bht002_thermostat_c.yaml

+ 1 - 1
custom_components/tuya_local/devices/beca_bht002_thermostat_c.yaml

@@ -53,7 +53,7 @@ primary_entity:
       # There are many variants of BHT-002 on the market, not all support this
       # There are many variants of BHT-002 on the market, not all support this
       optional: true
       optional: true
       name: hvac_action
       name: hvac_action
-      conditions:
+      mapping:
         - dps_val: "0"
         - dps_val: "0"
           value: idle
           value: idle
         - dps_val: "1"
         - dps_val: "1"