-
Notifications
You must be signed in to change notification settings - Fork 148
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
Fix for HomeKit fan modes (issue #563) #704
Fix for HomeKit fan modes (issue #563) #704
Conversation
All credits to @kparmun for the fix ollo69#563 (comment)
It doesn't look really good alter an enum using in some cases lower case and in other upper case. If the problem is that HomeKit just support lower case options, the change should be implemented in the methods |
Hey @ollo69, hope it's better now. I'm not much of a coder. |
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.
Please take a look to suggested changes and fix black formatting
Co-authored-by: ollo69 <60491700+ollo69@users.noreply.github.com>
Co-authored-by: ollo69 <60491700+ollo69@users.noreply.github.com>
I committed the changes you recommended |
Not sure this is the right solution. Probably fan modes should be mapped with HA modes. |
All credits to @kparmun for the fix:
#563 (comment)