Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Air Humidifier: Strong mode property added and docstrings updated #300

Merged
merged 7 commits into from
Aug 21, 2018

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Apr 4, 2018

No description provided.

@coveralls
Copy link

coveralls commented Apr 4, 2018

Coverage Status

Coverage increased (+0.2%) to 72.373% when pulling 5d8e3a8 on syssi:feature/airhumidifier-docstrings into 6eade93 on rytilahti:master.

@@ -90,6 +119,11 @@ def test_status(self):
assert self.state().hardware_version == self.device.start_state["hw_version"]
assert self.state().button_pressed == self.device.start_state["button_pressed"]

assert self.state().firmware_version == device_info.firmware_version
assert self.state().firmware_version_major == device_info.firmware_version.rsplit('_', 1)[0]
assert self.state().firmware_version_minor == int(device_info.firmware_version.rsplit('_', 1)[1])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (105 > 100 characters)

'cfg_time': 0,
'life': 575661,
'ap': {'rssi': -35, 'ssid': 'ap',
'bssid': 'FF:FF:FF:FF:FF:FF'},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continuation line under-indented for visual indent

@syssi syssi changed the title WIP: Air Humidifier: Docstrings for trans_level, depth and dry mode added Air Humidifier: Strong mode property added and docstrings updated May 13, 2018
@rytilahti
Copy link
Owner

Is this ready to be merged? :-)

@syssi
Copy link
Collaborator Author

syssi commented Jun 17, 2018

I've concerns with this PR. The improvement is tiny and the risk to break the humidifier support is high. I will try to do some synthetic testing against my Air Purifier to be sure.

@syssi syssi changed the title Air Humidifier: Strong mode property added and docstrings updated WIP: Air Humidifier: Strong mode property added and docstrings updated Jun 17, 2018
@syssi syssi changed the title WIP: Air Humidifier: Strong mode property added and docstrings updated Air Humidifier: Strong mode property added and docstrings updated Aug 21, 2018
@syssi
Copy link
Collaborator Author

syssi commented Aug 21, 2018

The PR works as expected.

@syssi syssi merged commit ca9ae67 into rytilahti:master Aug 21, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants