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

[meta] Restructure integrations to their own directories #1115

Closed
1 task
rytilahti opened this issue Aug 13, 2021 · 0 comments · Fixed by #1697
Closed
1 task

[meta] Restructure integrations to their own directories #1115

rytilahti opened this issue Aug 13, 2021 · 0 comments · Fixed by #1697
Milestone

Comments

@rytilahti
Copy link
Owner

rytilahti commented Aug 13, 2021

Move each integration to their own directory, containing the integration-specific implementation, data and test files.

This allows separate integrations to have their own data files stored without poluting the main package (see, e.g., #1094 for yeelight spec files), and make the integrations partially self-contained.
This also allows adding integration-specific, discoverable manifest files whose pros are discussed in another issue to be linked here.

Each integration should be stored under miio/integrations/<name> which can contain several source files including unit tests and any other data.

Status

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 a pull request may close this issue.

1 participant