-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
Add Xiaomi Airpurifier Pro V7 support #20093
Merged
balloob
merged 4 commits into
home-assistant:dev
from
syssi:feature/xiaomi-miio-airpurifier-v7-support
Jan 17, 2019
Merged
Add Xiaomi Airpurifier Pro V7 support #20093
balloob
merged 4 commits into
home-assistant:dev
from
syssi:feature/xiaomi-miio-airpurifier-v7-support
Jan 17, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
houndci-bot
reviewed
Jan 14, 2019
@@ -577,6 +614,10 @@ def __init__(self, name, device, model, unique_id): | |||
self._device_features = FEATURE_FLAGS_AIRPURIFIER_PRO | |||
self._available_attributes = AVAILABLE_ATTRIBUTES_AIRPURIFIER_PRO | |||
self._speed_list = OPERATION_MODES_AIRPURIFIER_PRO | |||
elif self._model == MODEL_AIRPURIFIER_PRO_V7: | |||
self._device_features = FEATURE_FLAGS_AIRPURIFIER_PRO_V7 | |||
self._available_attributes = AVAILABLE_ATTRIBUTES_AIRPURIFIER_PRO_V7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (80 > 79 characters)
Docs need an update for this as well, adding |
rytilahti
approved these changes
Jan 16, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
ghost
removed
the
in progress
label
Jan 17, 2019
9 tasks
Merged
alandtse
pushed a commit
to alandtse/home-assistant
that referenced
this pull request
Feb 12, 2019
* Add Xiaomi Air Purifier Pro V7 support * Reorder the model list * Improve the list of supported attributes/properties * Fix lint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
It's a more complete implementation of #19653 of @quamilek.
Related issue (if applicable): syssi/xiaomi_airpurifier#31
Kudos to @quamilek @Mazon and @SebuZet for taking the device support forward.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8169