Răsfoiți Sursa

Add missing DPS IDs to AGL Ultra Magic lock configuration

- Add Record tag ID (DPS 101) and Delete tag ID (DPS 110) for NFC card management
- Add Open/Close door notification switches (DPS 112, 113) for alert control
- Add Backup options select (DPS 114) for device backup/restore functionality
- Add App status binary sensor (DPS 122) for app connectivity monitoring
- Add Digital unlock binary sensor (DPS 124) for unlock method tracking
- Add Open door beep switch (DPS 125) for sound notification control
- Add Mechanical key unlock binary sensor (DPS 129) for physical key detection

These DPS IDs were identified from LocalTuya configuration and add important
functionality for gate lock management and monitoring.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Patrick Bassut 6 luni în urmă
părinte
comite
2c4f2fe56c

+ 92 - 0
custom_components/tuya_local/devices/agl_ultramagic_lock.yaml

@@ -118,3 +118,95 @@ entities:
           min: 0
           max: 100
         unit: s
+
+  - entity: number
+    category: config
+    name: Record tag ID
+    icon: "mdi:nfc-variant"
+    dps:
+      - id: 101
+        name: value
+        type: integer
+        range:
+          min: 0
+          max: 2000
+  - entity: number
+    category: config
+    name: Delete tag ID
+    icon: "mdi:nfc-variant-off"
+    dps:
+      - id: 110
+        name: value
+        type: integer
+        range:
+          min: 0
+          max: 100000
+
+  - entity: switch
+    category: config
+    name: Open door notification
+    icon: "mdi:bell-alert"
+    dps:
+      - id: 112
+        name: switch
+        type: boolean
+  - entity: switch
+    category: config
+    name: Close door notification
+    icon: "mdi:bell-check"
+    dps:
+      - id: 113
+        name: switch
+        type: boolean
+  - entity: select
+    category: config
+    name: Backup options
+    icon: "mdi:backup-restore"
+    dps:
+      - id: 114
+        name: option
+        type: string
+        mapping:
+          - dps_val: Selecionar
+            value: Select
+          - dps_val: Upload
+            value: Upload
+          - dps_val: Download
+            value: Download
+
+
+
+
+  - entity: binary_sensor
+    name: App status
+    icon: "mdi:cellphone"
+    dps:
+      - id: 122
+        name: sensor
+        type: boolean
+
+  - entity: binary_sensor
+    name: Digital unlock
+    device_class: door
+    dps:
+      - id: 124
+        name: sensor
+        type: boolean
+  - entity: switch
+    category: config
+    name: Open door beep
+    icon: "mdi:volume-high"
+    dps:
+      - id: 125
+        name: switch
+        type: boolean
+
+
+
+  - entity: binary_sensor
+    name: Mechanical key unlock
+    device_class: door
+    dps:
+      - id: 129
+        name: sensor
+        type: boolean