Преглед изворни кода

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 година
родитељ
комит
eed1de0f18
1 измењених фајлова са 0 додато и 8 уклоњено
  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