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

Fix fan switchState when resetting to defaults #592

Merged
merged 13 commits into from
Jun 12, 2023
Merged

Fix fan switchState when resetting to defaults #592

merged 13 commits into from
Jun 12, 2023

Conversation

dnicolson
Copy link

This pull request fixes the switchState value comparison which is always 0 or 1.

As a result, #286 now works correctly when turning a fan off.

@kiwi-cam kiwi-cam changed the base branch from master to beta June 12, 2023 21:22
@kiwi-cam kiwi-cam merged commit 5824bc0 into kiwi-cam:beta Jun 12, 2023
kiwi-cam added a commit that referenced this pull request Jul 6, 2024
* Serialize the simultaneous commands.
* Fix fan switchState when resetting to defaults (#592)
* Fix switchState when resetting to defaults

---------

Co-authored-by: Cameron <32912464+kiwi-cam@users.noreply.github.com>
Co-authored-by: banboobee <98196664+banboobee@users.noreply.github.com>

* Ignore fanSpeed key when looking for fan speeds (#593)
* Ignore fanSpeed key when looking for fan speeds

---------

Co-authored-by: Cameron <32912464+kiwi-cam@users.noreply.github.com>
Co-authored-by: banboobee <98196664+banboobee@users.noreply.github.com>
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