Explorar o código

Powerworld PW58410 HVAC: fix condition for cooling temp redirect

DP was renamed from hvac_mode to work_mode to incorporate device power
with hvac_mode, so constraint needs updating too.

Issue #1530
Jason Rumney hai 1 ano
pai
achega
dab835ffc9

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

@@ -55,7 +55,7 @@ primary_entity:
         min: 0
         max: 99
       mapping:
-        - constraint: hvac_mode
+        - constraint: work_mode
           conditions:
             - dps_val: [cool, wth_cool]
               value_redirect: cool_temp