-
-
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
WIP: Vacuum: Provide human readable fan speeds #468
Conversation
) | ||
def set_fan_speed(self, speed: int): | ||
def set_fan_speed(self, speed: str): |
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.
I would prefer to pass a Enum here. @rytilahti any suggestions?
The new vacuum still supports setting speed in percentage (0-100) like in the old one, and it can still return percentage values that will not fit any of predefined values. So methods that work with raw values are still needed. |
Thanks for the hint! I will update my proposal soon! |
Not sure if this is the correct place to report it, but given that #523 is closed -
|
This is obsolete now. |
No description provided.