-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
added support for zhimi.humidifier.cb2 #917
Conversation
@@ -180,6 +183,11 @@ def motor_speed(self) -> Optional[int]: | |||
@property | |||
def depth(self) -> Optional[int]: | |||
"""The remaining amount of water in percent.""" | |||
|
|||
# MODEL_HUMIDIFIER_CB2 127 without water tank. 125 = 100% water | |||
if self.device_info.model == MODEL_HUMIDIFIER_CB2: |
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.
You could introduce a new boolean property to indicate the water tank is detached.
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.
Hi @syssi - do you want to get this change already into this PR, or shall we merge this already for the next release?
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!
No description provided.