Преглед изворни кода

Mark unlock signals as non-persistent.

If these persist, app always overrides fingerprint.
With them not persisting, it is likely they will only be available in the UI
breifly, but at least automations can trigger and they will be in the logbook.

Issue #654
Jason Rumney пре 3 година
родитељ
комит
b9d978a8a6
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      custom_components/tuya_local/devices/ble_orion_lock.yaml

+ 2 - 0
custom_components/tuya_local/devices/ble_orion_lock.yaml

@@ -16,10 +16,12 @@ primary_entity:
     - id: 12
     - id: 12
       type: integer
       type: integer
       name: unlock_fingerprint
       name: unlock_fingerprint
+      persist: false
       optional: true
       optional: true
     - id: 19
     - id: 19
       type: integer
       type: integer
       name: unlock_app
       name: unlock_app
+      persist: false
       optional: true
       optional: true
     - id: 54
     - id: 54
       type: string
       type: string