Sfoglia il codice sorgente

Simple garage door: make command dp optional

To match QCSmart, this needs to be optional.

PR #2242
Jason Rumney 1 anno fa
parent
commit
62648ab398

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

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