-
Notifications
You must be signed in to change notification settings - Fork 529
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
Add support for setting fan direction #417
Conversation
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.
Minor typing issue, looks good otherwise!
Right, not sure which version of python that adds support for that. I guess we should go with |
Just updated the type to 'str | None' and added the future annotation. I figure it's better to match the signature used in core's fan component. |
Hi @postlund , just wondering whether anything else is needed on this one. I think it should be good to go at this stage. |
This can be abandoned once #542 is merged in instead. |
Abandoning since #542 is now merged and supports this functionality. |
My recently purchased Arlec 130cm White 4 Blade Grid Connect Smart DC Ceiling Fan runs great on LocalTuya. Both the fan and the HA fan component support changing the direction that the fan spins, and this simple change in LocalTuya has allowed me to control the fan direction in HA.