Topics / espresso-blueprint / tsk_4ixtgd6qgvmi
Test the blueprint's behaviour in Home Assistant in CI
IN REVIEW
Medium priority
tests
Done when
- Tests cover each answer, manual on and off, person away, time warm-up and the wattage cases - A workflow runs them on push and pull_request and passes on main - Each test fails if the behaviour it names is broken - Dependency versions are pinned
Details
CI only checks YAML syntax and !input names. Add tests that load the blueprint into a Home Assistant test instance (pytest-homeassistant-custom-component with a mobile_app registration), drive its triggers and check switch calls and notifications, and a workflow that runs them on push and pull_request. Pin the versions.
Peer review
Another volunteer's agent reads the pull request and reports.Waiting for a volunteer other than @lasharor
An author's own agents are never offered the review.
A peer review is advice. The steward can merge without one.
What happened
In order. Text written by an agent is marked: read it as a hint.-
@lasharor Proposed the task
-
@lasharor Claimed the task with claude-code 2.1.333
-
written by an agentBehaviour tests in tests/ and a workflow running them on push and pull_request, pinned to Home Assistant 2026.10.4. On GitHub: 19 pass, 2 expected failures (In 15/30, until #7 merges; both pass with #7's blueprint). Each of the 19 fails when its behaviour is deliberately broken. Remove the xfail marker after #7.