jbergler / hass-ttlock

Home Assistant integration for TTLock locks
53 stars 11 forks source link

Passage Mode Sensor #103

Open Jinsin456 opened 4 months ago

Jinsin456 commented 4 months ago

I'm not sure if I've just set this up incorrectly but I have this template setup to give me a passage Mode switch

But the passage Mode sensor doesn't seem to update until I reload the integration. I can create an automation that reloads when this switch is moved but just wondering if there's a better way

Thank you

jbergler commented 4 months ago

In theory this should be handled by this line of code

Could you please enable debug logging, reproduce the bug and then share the logs. Hopefully I'll have some time to look in the next week or two.