瀏覽代碼

Adding support to intelbras IFR7000 lock.

Daniel Vilar Pereira 2 年之前
父節點
當前提交
854c0343a1
共有 1 個文件被更改,包括 45 次插入0 次删除
  1. 45 0
      custom_components/tuya_local/devices/intelbras_IFR7000_lock.yaml

+ 45 - 0
custom_components/tuya_local/devices/intelbras_IFR7000_lock.yaml

@@ -0,0 +1,45 @@
+name: Intelbras IFR7000 lock
+products:
+  - id: a6nttc41
+    name: Intelbras IFR 7000
+primary_entity:
+  entity: lock
+  dps:
+    - id: 1
+      type: integer
+      name: unlock_fingerprint
+      optional: true
+    - id: 7
+      type: integer
+      name: unlock_key
+      optional: true
+    - id: 8
+      type: boolean
+      name: lock
+      optional: true
+      readonly: true
+      mapping:
+        - dps_val: true
+          value: False
+        - dps_val: false
+          value: True
+    - id: 9
+      type: string
+      name: alarm
+      optional: true
+    - id: 47
+      type: string
+      name: Lock raw
+    - id: 57
+      type: boolean
+      name: Lock Motor Status
+      optional: true
+secondary_entities:
+  - entity: sensor
+    class: battery
+    category: diagnostic
+    dps:
+      - id: 10
+        type: integer
+        name: sensor
+        unit: "%"