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 Mode switch for AP #209

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

Fix Mode switch for AP #209

wants to merge 7 commits into from

Conversation

cstosgale
Copy link

I've identified an issue which I believe may be related to this bug: #167

What I've found is with the H-PURIFIER 700 Air Purifier, changing the mode actually switches off the AP. It behaves like it doesn't like the mode switch and almost crashes.

I've found that by making this change, this makes the mode switch reliable again. It's still not possible to turn the AP on/off however, I did attempt to expose this but concluded the only way to do this reliably would be to use the programs, which by default pass parameters such as turning the light off.

This PR removes the 0: "standby" mode which appears to be invalid, as the valid options listed from the output of the AP are only 1-4. It's worth noting option 3 doesn't seem to do anything, but removing it just meant it was replaced with a 3 so I left it in.

cstosgale and others added 4 commits May 26, 2024 12:21
Revert "Rename HACS release and disable zipped source"

This reverts commit 532babc.

Delete custom_components/.DS_Store

Delete .DS_Store

Revert Changes

Added power and light level

Update const.py

Revert machMode back to original settings value

Rename HACS release and disable zipped source
Copy link
Owner

@Andre0512 Andre0512 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for your work. Please remove the last 3 commits, then we can merge

…rename"

This reverts commit cdc0bfc, reversing
changes made to dec964b.
This reverts commit dec964b.
@cstosgale
Copy link
Author

Apologies, I hadn't realised those commits had made it into my PR. Those should be reverted now!

@cstosgale cstosgale requested a review from Andre0512 August 15, 2024 12:12
@cstosgale
Copy link
Author

Hi, this PR should be good to go now, is it ok to merge it?

Bring in updates from main branch
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