test(mock_assistant): HA testing suite — backbone, time toolkit, DataProvider, simulation engine#253
Closed
zoe-codez wants to merge 9 commits into
Closed
test(mock_assistant): HA testing suite — backbone, time toolkit, DataProvider, simulation engine#253zoe-codez wants to merge 9 commits into
zoe-codez wants to merge 9 commits into
Conversation
…Services loopback registry
…rs, solar anchoring, and tick-based advance (WS-B Pillar 2)
…im, matrix, solver (Pillar 4)
…end via ws-b tick-drain
…de works standalone
This was referenced Jun 18, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #253 +/- ##
==========================================
- Coverage 81.79% 81.35% -0.44%
==========================================
Files 47 50 +3
Lines 1774 2092 +318
Branches 197 243 +46
==========================================
+ Hits 1451 1702 +251
- Misses 322 389 +67
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Draft — part of a cross-repo HA testing-suite effort (hass + synapse + automation + home-automation).
What this adds (hass
mock_assistant)entity.register(entity_id, initialState)post-boot registration API; re-anchored on the socket→MASTER_STATEsingle write path; unifiedEMIT_SLEEPsettle primitive;MockServicesloopback registry.set/advanceTo/advanceBy), solar anchoring, tick-based advance; UTC-literal TZ contract; upstream sliding-schedule case fixed.observedValues/worldAt/findMoment— no native deps.scenario()timeline, seeded reproducible sim, matrix/cartesian,findMomentsolver (throws on no match); chaos mode auto-registers entities.Gates
Heads-up for reviewers
This branch is stacked on three pre-existing local commits not yet on
main(color_temp_kelvindev-type fixes + a deps/eslint-10 upgrade, calver 26.6.13). They are not part of the testing-suite work — fold/rebase as you prefer before merge.