Browse Source

Loratap curtain switch: Add continue to possible values.

Even though Home Assistant does not support it, it still may appear in the
dps from the device, and if so, we want to select the correct group of commands
to make available to the user.
Jason Rumney 2 years ago
parent
commit
c7a7f426ab

+ 1 - 1
custom_components/tuya_local/devices/loratap_curtain_switch.yaml

@@ -21,7 +21,7 @@ primary_entity:
                   value: close
                   value: close
                 - dps_val: "3"
                 - dps_val: "3"
                   value: stop
                   value: stop
-            - dps_val: [ "open", "close", "stop" ]
+            - dps_val: [ "open", "close", "stop", "continue" ]
               mapping:
               mapping:
                 - dps_val: open
                 - dps_val: open
                   value: open
                   value: open