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

Type of Lock is invalid name #19

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

hinaloe
Copy link
Contributor

@hinaloe hinaloe commented Nov 30, 2023

SmartLockのTypeがLockになっていますが、リファレンス上Smart Lock であると記載されています。

実際にAPIは手元のロックについて "Smart Lock" を返しており、device.Type == switchbot.Lock をすり抜けてしまっておりました。

@nasa9084
Copy link
Owner

nasa9084 commented Dec 1, 2023

ありがとうございます!Switchbot Smart Lockは使ってないので漏れてました。助かります!

@nasa9084 nasa9084 merged commit 55a7c5e into nasa9084:main Dec 1, 2023
1 check passed
@hinaloe hinaloe deleted the fix-lock-type branch December 1, 2023 11:02
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.

2 participants