Преглед изворни кода

Beca BHT002: fix hvac_action mapping

PR #2640
Jason Rumney пре 1 година
родитељ
комит
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
       optional: true
       name: hvac_action
-      conditions:
+      mapping:
         - dps_val: "0"
           value: idle
         - dps_val: "1"