Explorar o código

Remove border state restrictions on blind control

This seems to be too invasive, the logic should be implemented at either the device or UI level anyway, not in the middle.

Issue #320
Jason Rumney %!s(int64=3) %!d(string=hai) anos
pai
achega
eed1de0f18

+ 0 - 8
custom_components/tuya_local/devices/wistar_roller_blind.yaml

@@ -11,16 +11,8 @@ primary_entity:
       mapping:
       mapping:
         - dps_val: "0"
         - dps_val: "0"
           value: open
           value: open
-          constraint: border_state
-          conditions:
-            - dps_val: false
-              invalid: true
         - dps_val: "1"
         - dps_val: "1"
           value: close
           value: close
-          constraint: border_state
-          conditions:
-            - dps_val: false
-              invalid: true
         - dps_val: "2"
         - dps_val: "2"
           value: stop
           value: stop
     - id: 102
     - id: 102