Skip to content

Fix timezone changes, persistent firmware tasks and cat weight tracking - #44

Merged
Repsay merged 1 commit into
mainfrom
codex/remaining-acceptance
Oct 17, 2026
Merged

Repsay merged 1 commit into
mainfrom
codex/remaining-acceptance

Conversation

@Repsay

@Repsay Repsay commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Live timezone testing exposed that the APK's Windows-name payload is stored unchanged in the backend's IANA field and shifts DND clocks. Require an explicit valid IANA name, verify both timezone fields, and offer opt-in preservation of device-local DND clocks/switch/LED. The corrected Amsterdam/London roundtrip restored every original setting and cleaning plan. Existing change automations must add iana_time_zone.

Persist firmware target/task metadata before confirmation so reloads and uncertain POST failures cannot replay installation. Correlate terminal status with the exact task and distinguish stale pre-retry failures. The APK's realtime flow uses native Android JPush; this PR retains HTTP polling and does not claim an HA-compatible push subscription or measured percentage.

Fix fresh pet-profile weight precedence, missing-reading handling, kg/lb normalization and profile-edit unit validation (1=kg, 2=lb). Keep existing entity IDs, discover optional readings after startup and label daily cloud summaries with unknown measurement time/freshness. Add an offline physical-start observer for DST gaps/folds and date boundaries, and retain timezone operation results/partial failures in validation evidence.

Validation: 718 tests pass on HA 2026.10.1 and the exact minimum HA 2026.3.0; Ruff ALL, format and strict mypy pass including scripts. Owner physically confirmed clean and level. Fresh firmware read offers no update. Additional hardware/app acceptance is tracked explicitly in docs/remaining-validation.md; no unobserved criterion is marked passed. No empty command or statistics deletion was performed.

Refs #21, #22, #41, #42. Feeders and water dispensers remain deferred.

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.

1 participant