Skip to content
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

Check fan off state #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

mtkraai
Copy link

@mtkraai mtkraai commented Dec 11, 2022

My fan controller (Martin Jerry - Tasmota pre-installed) wasn't compatible with your logic. Turns out, it keeps its last speed setting when turned off, then turns on at the last speed.

This change checks the on/off state, as well as the speed percentage, to determine the state of the fan.

I believe this should continue to work with fans that worked before. If not, it would be easy to add a boolean option to enable the new logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants