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

Orion BLE lock: mark more dps as optional

Basically only the secondary entities (battery level, auto-lock setting) are
being reported, none of the lock feedback (which I guess only comes when the lock is unlocked).

Issue #654
Jason Rumney 2 лет назад
Родитель
Сommit
7fa6e8d056
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      custom_components/tuya_local/devices/ble_orion_lock.yaml

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

@@ -16,12 +16,15 @@ primary_entity:
     - id: 12
       type: integer
       name: unlock_fingerprint
+      optional: true
     - id: 19
       type: integer
       name: unlock_app
+      optional: true
     - id: 54
       type: string
       name: sync_method
+      optional: true
 secondary_entities:
   - entity: sensor
     name: Battery