Просмотр исходного кода

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 2 лет назад
Родитель
Сommit
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