smithery/plebann

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.

Installation

$ npx skills add smithery/plebann --skill ha-test-harness

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/plebann.

npx skills add smithery/plebann

Browse all from smithery/plebann

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 recorded snapshot · 0 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)