Quellcode durchsuchen

Summary: Orion lock: set unlock dps to not persist.

If they persist, then the same one is always picked up as the unlock reason.
They need to not persist so that the latest one is always recognised.

Issue #798
Jason Rumney vor 2 Jahren
Ursprung
Commit
aa51a3e292
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  1. 10 0
      custom_components/tuya_local/devices/orion_smart_lock.yaml

+ 10 - 0
custom_components/tuya_local/devices/orion_smart_lock.yaml

@@ -5,18 +5,28 @@ primary_entity:
     - id: 1
       type: integer
       name: unlock_fingerprint
+      optional: true
+      persist: false
     - id: 2
       type: integer
       name: unlock_password
+      optional: true
+      persist: false
     - id: 3
       type: integer
       name: unlock_temp_pwd
+      optional: true
+      persist: false
     - id: 4
       type: integer
       name: unlock_dynamic_pwd
+      optional: true
+      persist: false
     - id: 5
       type: integer
       name: unlock_card
+      optional: true
+      persist: false
     - id: 8
       type: bitfield
       name: jammed