Add Fan Operating Mode select for active fan mode#50
Open
EdenNelson wants to merge 3 commits into
Open
Conversation
Owner
|
Hi, |
…ng-mode-select # Conflicts: # components/levoit/levoit.cpp
Contributor
Author
|
Fixed and tested. Thank you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a
fan_operating_modeselect that exposes the purifier's active fan mode as a normal ESPHome select entity for dashboards that do not render fan presets directly.Fixes #49
Summary
type: fan_operating_modeto the Levoit select platform.Manual,SleepManual,Sleep,AutoManual,Sleep,Auto,PetManual,AutoManual,Sleep,Auto,TurboValidation
git diff --checkpassed.fan_operating_modeconfigured.EdenNelson/levoit@integration/core400s-auto-profile-stack.Manualwhen fan operation changes.Scope
This PR exposes the active fan operating mode through a normal ESPHome select while keeping existing fan preset behavior intact. It does not add remembered Room Size persistence, Manual/Auto mechanics changes, Core room-size encoding changes, diagnostics, raw sensors, generated YAML churn beyond required config mirrors, or unrelated model behavior changes.
Disclosure
This PR was prepared with GitHub Copilot/AI assistance and human-in-the-loop review. Live validation was performed by a human on a Core400S using
air-purifier-office.yaml. Other model option sets mirror the existing fan preset mode support and were not hardware-tested.