Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Night Latch feature of EU firmware version of smart lock #215

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

Michal4K
Copy link
Contributor

Added support for Night Latch feature of EU firmware version of smart lock

Adding:

  • detection if Night Latch feature is enabled from ADV
  • new lock function to unlatch
  • Changing way of handling unlock command. Night Latch off -> same - sends unlock command, Night Latch on -> sends command not fully unlock, because unlock command in this configuration also unlatches door

tested with firmware version 6.5

switchbot/devices/lock.py Outdated Show resolved Hide resolved
switchbot/devices/lock.py Outdated Show resolved Hide resolved
@Michal4K Michal4K requested a review from bdraco August 17, 2023 10:41
@Michal4K
Copy link
Contributor Author

Sorry, for not running tests before opening PR.

@bdraco bdraco merged commit 7a292cb into Danielhiversen:master Aug 17, 2023
4 checks passed
@bdraco
Copy link
Collaborator

bdraco commented Aug 17, 2023

Thanks @Michal4K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants