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

Ignore fanSpeed key when looking for fan speeds #593

Merged
merged 14 commits into from
Jun 12, 2023
Merged

Ignore fanSpeed key when looking for fan speeds #593

merged 14 commits into from
Jun 12, 2023

Conversation

dnicolson
Copy link

This pull request fixes an empty string being added to the foundSpeeds array, the fanSpeed key is available in addition to fanSpeedX keys since #286.

The result of the following is still desired:
'fanSpeed20'.split('fanSpeed')[1]

But not this:
'fanSpeed'.split('fanSpeed')[1]

The logic is then simplified in fb298a6.

The fanSpeed key is also missing from the documentation.

@kiwi-cam kiwi-cam changed the base branch from master to beta June 12, 2023 21:25
@kiwi-cam kiwi-cam merged commit bc50468 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