ソースを参照

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 2 年 前
コミット
aa51a3e292
1 ファイル変更10 行追加0 行削除
  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