Repository navigation
Fix child-lock and schedule editing contracts; complete validation coverage - #43
Merged
Merged
Conversation
This was referenced Oct 16, 2026
This was referenced Oct 16, 2026
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.
Live validation found two real defects: child-lock writes sent a text physical ID plus an untraced alias, and schedule editing rejected the server's litter-box plan_type_id 2. Send the exact integer lock fields and accept observed type-2 plans with omitted quantity, preserving the app's quantity-1 edit payload and rejecting unknown types.
Add bounded GET readback after a single mutation and during restoration; DND-toggle and selected-pet association roundtrips; read-only firmware lifecycle monitoring; a private-evidence coverage audit; and an issue-by-issue acceptance map. Prepare version 0.4.1.
Validation: 666 tests pass on HA 2026.10.1 and minimum 2026.3.0. Ruff ALL, formatting, strict mypy including scripts and diff checks pass. Live lock, DND, screen-language, all three cleaning modes, association and schedule create/edit/disable/enable/delete passed readback. Original settings, association and all original plans were restored; DND clocks/LED were preserved. Firmware observation found no offered update. No empty/other motor command, history deletion or timezone change was sent.
Implementation tickets below are delivered or have dedicated validation tooling. Remaining external acceptance is explicitly preserved in #42; timezone/DST #21, firmware lifecycle/realtime #22 and measured weights/history #41 stay open. Feeders/water stay deferred. Closing these implementation tickets does not claim physical firing, fresh OTP login or every phone-app observation passed.
Closes #11, closes #12, closes #14, closes #15, closes #16, closes #17, closes #19, closes #20, closes #23, closes #24, closes #25, closes #26.
Refs #21, #22, #41, #42.