-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Air Humidifier: Strong mode property added and docstrings updated #300
Conversation
@@ -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]) |
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 (105 > 100 characters)
'cfg_time': 0, | ||
'life': 575661, | ||
'ap': {'rssi': -35, 'ssid': 'ap', | ||
'bssid': 'FF:FF:FF:FF:FF:FF'}, |
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.
continuation line under-indented for visual indent
Is this ready to be merged? :-) |
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. |
The PR works as expected. |
No description provided.