-
Notifications
You must be signed in to change notification settings - Fork 361
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
Request to Adapt xiaomi.lock.b03 Door Lock, Fix Related Bug and Merge Code #1483
Comments
The "Abnormal Condition" has been showing as "unknown" all the time. I don't know what to do. As shown in the picture. I've tested the other entities and they all work normally. Related links of the door lock https://home.miot-spec.com/spec/xiaomi.lock.b03 |
code files |
This is |
I have modified the content inside. And for 2.e.1020.p.2, I wrote it by referring to the lumi.lock.mcn002 device from lines 1738 to 1760 in the file at https://github.com/AlexxIT/XiaomiGateway3/blob/master/custom_components/xiaomi_gateway3/core/devices.py. Currently, it can already be displayed in the action entity.
|
Your converter is very different from those already in the component (locks). I can't accept it as it is |
Sorry, my coding level isn't very professional. This is the best I could do with my code. It's okay if you don't accept it. And I'm really grateful if you're still willing to make adjustments for this smart lock |
I have a xiaomi.lock.b03 door lock and I hope it can be adapted into the plugin.
I have written relevant code in the xiaomi_gateway3.py file. After testing, other parts are normal, but the "Abnormal Condition" entity related to this door lock has no response and keeps reporting errors. I have tried various methods but haven't been able to solve it.
Now I request you to help fix this bug and also hope that my code can be merged into the plugin so as to better support this door lock.
Thank you!
xiaomi_gateway3.py code
The text was updated successfully, but these errors were encountered: