Correct Core400S CADR and Room Size limits#38
Open
EdenNelson wants to merge 1 commit into
Open
Conversation
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.
Correct the Core400S CADR constant and constrain the Core400S Auto Mode Room Size number to the documented model-specific range.
Fixes #37
Summary
442 m³/h.9-83 m²/97-894 ft²to9-38 m²/97-409 ft².efficiency_room_sizeYAML bounds:min_value: 9andmax_value: 38.Validation
git diff --checkpassed.components/levoit/levoit.cpp.EdenNelson/levoit@integration/core400s-auto-profile-stack, which contains this change plus Fix ESPHome fan preset deprecation warning #36: ESPHome 2026.5.1 build/OTA succeeded and runtime reportedCurrent CADRas442 m³/h.Follow-up
Live testing also showed an existing Core room-size decode round-trip issue: setting
9 m²can echo as8, and setting38 m²can echo as37. That appears to be caused by decoded float room-size values being truncated through the current number publish path. This PR intentionally does not change Core room-size protocol encoding/decoding behavior; that belongs in a separate focused fix.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.