Browse Source

Simple garage door: make command dp optional

To match QCSmart, this needs to be optional.

PR #2242
Jason Rumney 1 year ago
parent
commit
62648ab398
1 changed files with 1 additions and 0 deletions
  1. 1 0
      custom_components/tuya_local/devices/garage_door_opener.yaml

+ 1 - 0
custom_components/tuya_local/devices/garage_door_opener.yaml

@@ -7,6 +7,7 @@ primary_entity:
     - id: 1
       name: control
       type: boolean
+      optional: true
       mapping:
         - dps_val: true
           value: "open"