Selaa lähdekoodia

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 3 vuotta sitten
vanhempi
commit
eed1de0f18
1 muutettua tiedostoa jossa 0 lisäystä ja 8 poistoa
  1. 0 8
      custom_components/tuya_local/devices/wistar_roller_blind.yaml

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

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