Explorar o código

BCom intercom camera: add accessory lock

DP 148 is accessory lock according to info on issue #2835
Since the product id is matching the original, assume that is the
case for BCom as well as TMEZON, so we don't need to hide it when
unavailable.

Issue #2835
Jason Rumney hai 1 ano
pai
achega
064889632d

+ 7 - 0
custom_components/tuya_local/devices/bcom_intercom_camera.yaml

@@ -169,3 +169,10 @@ entities:
         type: string
         type: string
         optional: true
         optional: true
         name: message
         name: message
+  - entity: lock
+    name: Accessory lock
+    dps:
+      - id: 148
+        type: boolean
+        optional: true
+        name: lock