smithery.ai

ha-test-harness

Testing patterns for Home Assistant custom components—coordinator and entity unit tests, register map coverage, write-path tests, and unique_id/device stability checks.

First seen Mar 23, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseComplete terms in LICENSE.txt

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 943 B
  • docs SUMMARY.md 193 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

HA Test Harness

Use when adding tests for a custom integration.

Quick start

  • Unit test the coordinator (success, cached fallback, error paths, option changes).
  • Validate register maps and expected entities (keys, tiers, categories).
  • Test entity properties (stateclass/deviceclass/units) and translation_key wiring.
  • Write-path tests: encoding, device_id usage, no immediate refresh contention.

References

  • [references/coordinator-tests.md](references/coordinator-tests.md)
  • [references/entity-tests.md](references/entity-tests.md)
  • [references/write-path-tests.md](references/write-path-tests.md)
  • [references/registry-stability.md](references/registry-stability.md)