Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2096 +/- ##
==========================================
+ Coverage 84.31% 84.33% +0.01%
==========================================
Files 201 201
Lines 20656 20676 +20
Branches 1121 1122 +1
==========================================
+ Hits 17417 17437 +20
Misses 3047 3047
Partials 192 192 ☔ View full report in Codecov by Harness. |
Aulos
force-pushed
the
fix-ca6-setter-validation
branch
from
November 26, 2026 13:51
1145273 to
7af1bc7
Compare
This branch has not been deployed
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.
Summary
CA6's
set_modewas annotated with the CA4 enum and accepted it at runtime. PassingOperationMode.Autosent0, which means Favorite on CA6. RequireOperationModeCA6and reject incompatible enums before sending a command.Also reject fractional humidity targets instead of silently truncating them. Integral floats such as
45.0remain supported and are encoded as integers.Follow-up to #1884 and #1885; this does not add duplicate CA6 support.
Evidence
Merge Danger
Door: Two-way.
Blast Radius: CA6 setters. Callers passing another model's enum or fractional targets now receive ValueError. Valid CA6 modes and integral targets keep their existing wire encoding. CA4 is unchanged.
Prepared with AI assistance; no device credentials or account identifiers are included.