jbergler / hass-ttlock

Home Assistant integration for TTLock locks
69 stars 13 forks source link

Passage mode auto unlock not working #101

Closed lsellens closed 8 months ago

lsellens commented 8 months ago

When calling the passage mode on if I enable auto unlock the lock does show it enters passage mode, but the lock does not auto unlock. If I then unlock the door it will stay unlocked.

To Reproduce

service: ttlock.configure_passage_mode
metadata: {}
data:
  enabled: true
  auto_unlock: true
  all_day: true
target:
  entity_id: lock.pantry

Expected behavior

lock to unlock but it does not unless I then send a unlock command or manually unlock it

Diagnostic info

jbergler commented 8 months ago

I'm gonna guess that this is expected behavior. "All Day" doesn't have a start time, so I wouldn't expect setting the configuration to trigger the unlock.

That said, this is outside the scope of what I can support, if we're making the API calls and the locks config is updated correctly then I don't have any control over what the lock does with the config.