Parcourir la source

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 il y a 2 ans
Parent
commit
aa51a3e292
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  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