Some Switchbot device types are now shown as first-class support, with 2022.8. But not Switchbot Lock. Can integration be added for Switchbot Lock, please.
Unfortunately this seems to not be possible via the Switchbot API in HA BLE currently (2022.9.x versions). Switchbot do not yet support Homekit either.
So, I voted for this, but I have a feeling we are waiting on Switchbot to allow it.
In case it might help people looking for an alternative way to integrate SwitchBot SMart Lock into HA. This is a link for an AppDaemon app I have written to integrate my smart lock.
Iāve been working on getting this working locally for a while and have some good news - PR has been merged so the integration should be coming in the next release
Thank you for the local integration! Really cool! I would like to test it. Is there already a docu how it works and is the PR incorporated in the current beta release?
Seems there is some problem with auto-discovery thatās going to be addressed in another update (might not be beta), but you should be able to set-up the lock by going through the ā+ Add integrationā button just fine.
Awesome! Works straight forward and the lock is integrated and the response time is in my case pretty good.
You mentioned you try to implement the key retrieval into the integration. Do you think this will be part of the release next week?
Hey there! Hoping you can help me get my lock into HA. Iām on the latest beta release, and have extracted the encryption key and key IDā¦ However, Iām now stuck. Autodiscover keeps detecting the lock as a Plug Mini, so I canāt seem to find where I should input these keys into the switchbot config flow.
With Beta 3 you should be able to add the lock via config flow. Go to Devices & Services > Add Integration > Switchbot. A dialog should appear asking you to add your username and password from your Switchbot account. No longer necessary to extract the key upfront.
@JamieSBenson did you maybe get it working after what @smartmatic added? Iām pretty sure that it would be impossible for the lock to be recognized as a plug but just to be sure does the part of the device name in the parenthesis match up with your locks last 4 characters of the mac address? Iād say itās more likely that this plug is just someones else one close by.