Tests for the Xiaomi Air Conditioning Companion#182
Merged
rytilahti merged 6 commits intorytilahti:masterfrom Jan 27, 2018
Merged
Tests for the Xiaomi Air Conditioning Companion#182rytilahti merged 6 commits intorytilahti:masterfrom
rytilahti merged 6 commits intorytilahti:masterfrom
Conversation
houndci-bot
reviewed
Jan 26, 2018
| self.device._reset_state() | ||
| self.device.state[1] = None | ||
| assert self.state().fan_speed is None | ||
|
|
houndci-bot
reviewed
Jan 26, 2018
| configuration = configuration.replace('[wi]', fan_speed.value) | ||
| configuration = configuration.replace('[sw]', swing_mode.value) | ||
| configuration = configuration.replace('[po]', str(power.value)) | ||
| configuration = configuration.replace('[mo]', str(operation_mode.value)) |
There was a problem hiding this comment.
line too long (80 > 79 characters)
| '0100010727': { | ||
| 'deviceType': 'gree_2', | ||
| 'base': '[po][mo][wi][sw][tt]1100190[tt1]205002102000t7t0190[tt1]207002000000[tt4]0', | ||
| 'base': '[po][mo][wi][sw][tt]1100190[tt1]205002102000[tt7]0190[tt1]207002000000[tt4]0', |
There was a problem hiding this comment.
line too long (95 > 79 characters)
houndci-bot
reviewed
Jan 26, 2018
| configuration = configuration.replace('[wi]', fan_speed.value) | ||
| configuration = configuration.replace('[sw]', swing_mode.value) | ||
| configuration = configuration.replace('[po]', str(power.value)) | ||
| configuration = configuration.replace('[mo]', str(operation_mode.value)) |
There was a problem hiding this comment.
line too long (80 > 79 characters)
| '0100010727': { | ||
| 'deviceType': 'gree_2', | ||
| 'base': '[po][mo][wi][sw][tt]1100190[tt1]205002102000t7t0190[tt1]207002000000[tt4]0', | ||
| 'base': '[po][mo][wi][sw][tt]1100190[tt1]205002102000[tt7]0190[tt1]207002000000[tt4]0', |
There was a problem hiding this comment.
line too long (95 > 79 characters)
Collaborator
Author
|
The tests are very basic but they are useful nevertheless. I would by happy about a quick merge because of the fixed bug. |
Owner
|
Looks good, let's merge and deliver a release this weekend! |
This file contains hidden or 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
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.
No description provided.