Przeglądaj źródła

Revert Fan Only to be standard constraint rather than default and make OFF preset visible

Stephen 1 rok temu
rodzic
commit
dac769b6ad

+ 2 - 2
custom_components/tuya_local/devices/cecotec_readywarm_8400.yaml

@@ -13,9 +13,10 @@ primary_entity:
         - dps_val: false
         - dps_val: false
           value: "off"
           value: "off"
         - dps_val: true
         - dps_val: true
-          value: fan_only
           constraint: preset_mode
           constraint: preset_mode
           conditions:
           conditions:
+            - dps_val: "off"
+              value: fan_only
             - dps_val: "low"
             - dps_val: "low"
               value: heat
               value: heat
               hidden: true
               hidden: true
@@ -40,7 +41,6 @@ primary_entity:
       mapping:
       mapping:
         - dps_val: "off"
         - dps_val: "off"
           value: none
           value: none
-          hidden: true
         - dps_val: "low"
         - dps_val: "low"
           value: eco
           value: eco
         - dps_val: "high"
         - dps_val: "high"