-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
[meta] Plans for 0.6 series #1114
Comments
Is this project still maintained @rytilahti? Hundreds of open issues here and dozens at the HA repo, all awaiting for this famous 0.6.0 version. Any stable release in sight already? Can't help to notice that the 0.6.0 milestone is running for almost 3 years already. |
Well, sort of, I try to fix issues that are reported, merge contributions, etc. But as I don't really have test devices and I personally use this rather seldom, it hasn't been my priority. I did a pre-release earlier to make it easier to start porting the home assistant integration & gather some issue reports, but alas, it didn't gather much interest nor contributors. I'm still planning to create a release at some point, hopefully by autumn, when I find enough time & motivation, but I wouldn't really want to release something that may break things for existing users, as the library is seemingly used and downloaded by many as it is. So if you want to help, a good starting point would be by porting the current home assistant integration to use the pre-release (as there should not be that many API breaking changes). I have a separate repository for a custom integration that rewrites the whole integration to use the new APIs to support more devices, but getting it into the home assistant core will require much more effort. Any help with that is also welcome! |
Clear! Thanks 😄 Is the custom_integration easy to run in parallel (or maybe on top of) the core integration? |
This meta task will track the progress and tasks to do for the next major release, which aims to simplify the use of the library for downstream users and reorganize the organically grown code base to be more maintainable.
This issue will give an overview of the planned changes, which are discussed more in-depth under their corresponding issues linked below as they get written. This meta issue shall serve as a checklist for the changelog, and is open for discussions.
Repository structure
Tasks
miio/integrations/<name>
ormiio/integrations/<type of device>/<name>
. [meta] Restructure integrations to their own directories #1115__getattr__
tomiio
to inform about the breaking changes. #1696"Device factory"
Tasks
Add manifest files to integrations that describe supported models (miIO.info-based and mDNS entries) [meta] Add integration manifest files #1116Common APIs
Tasks
miIO.info
to consolidate handling of device-specific differences inside a single integration. Add model autodetection #1038supported_features
or similar feature flags to allow integrations specify which features is supported by the device model. This will allow moving these checks from downstream (homeassistant most prominently) to where this information belongs.@command
s.MiOT support
Tasks
Other changes
ValueError
instead of custom exception types) Clean up raised library exceptions #1558The text was updated successfully, but these errors were encountered: