Просмотр исходного кода

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 лет назад
Родитель
Сommit
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