Explorar el Código

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 hace 2 años
padre
commit
aa51a3e292
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  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