-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Air Quality Monitor: New property "time_state" added #187
Air Quality Monitor: New property "time_state" added #187
Conversation
@@ -56,3 +57,4 @@ def test_status(self): | |||
assert self.state().aqi == self.device.start_state["aqi"] | |||
assert self.state().battery == self.device.start_state["battery"] | |||
assert self.state().usb_power == (self.device.start_state["usb_state"] == 'on') | |||
assert self.state().time_state == self.device.start_state["time_state"] |
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.
no newline at end of file
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.
Fixed.
miio/tests/test_airqualitymonitor.py
Outdated
@@ -10,7 +10,8 @@ def __init__(self, *args, **kwargs): | |||
'power': 'on', | |||
'aqi': 34, | |||
'battery': 100, | |||
'usb_state': 'off' | |||
'usb_state': 'off', | |||
'time_state' : 'format unknown' |
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.
whitespace before ':'
1 similar comment
670b292
to
b15ac5c
Compare
No description provided.