Procházet zdrojové kódy

fix (aquaviva_avh15s_heatpump): conditions require dps_val

Even though these are just dummy entries to make sure the options
appear in the list when redirecting, they still need to look
valid(ish). Add some dps_val (redundant or impossible combinations
as they will not be used once the redirection takes effect).
Jason Rumney před 1 měsícem
rodič
revize
5e8c065572

+ 4 - 2
custom_components/tuya_local/devices/aquaviva_avh15s_heatpump.yaml

@@ -46,8 +46,10 @@ entities:
             available: off_mode
             value_redirect: power
             conditions:
-              - value: heat_pump
-              - value: "off"
+              - dps_val: hot
+                value: heat_pump
+              - dps_val: cool
+                value: "off"
           - dps_val: heat_hot
             value: heat_pump
             available: heat_mode