Skip to content

Add read-only support for Wyze Lock Bolt v2 (DX_LB2) - #242

Open
porkupine100 wants to merge 1 commit into
SecKatie:mainfrom
porkupine100:feature/lock-bolt-v2-support
Open

porkupine100 wants to merge 1 commit into
SecKatie:mainfrom
porkupine100:feature/lock-bolt-v2-support

Conversation

@porkupine100

Copy link
Copy Markdown

What device this adds: Wyze Lock Bolt v2 (DX_LB2)
What works: lock state (locked/unlocked), online status, battery level
What doesn't work yet: lock/unlock commands (API not yet identified)

@porkupine100
porkupine100 requested a review from SecKatie as a code owner March 20, 2026 06:51
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@SecKatie SecKatie left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some unrelated changes to random comments, etc. in this PR can you remove those? I'd like to keep this focused on the feature that we're adding.

Comment thread src/wyzeapy/types.py
try:
model_type = DeviceTypes(self.product_model)
return model_type
except ValueError:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why swallow this error here? I don't like the change to this function actually. The purpose of it is a single responsibility of extracting a device type from a product type field.

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.

3 participants