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

Unify subdevice types #947

Merged
merged 1 commit into from
Feb 14, 2021
Merged

Conversation

starkillerOG
Copy link
Contributor

The subdevice type was used priviously to match the class needed and was therefore unique per device.
(and it is used in self.repr)

I now made the type uniform for all devices which schould behave simular.
That way the type property can be used in HomeAssistant to easily identify what kind of entities schould be added.

@starkillerOG
Copy link
Contributor Author

@rytilahti Could you merge this before the new version gets released?

@rytilahti rytilahti merged commit 79ddf2f into rytilahti:master Feb 14, 2021
@rytilahti rytilahti mentioned this pull request Mar 13, 2021
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants