Skip to content
Kitbay

ha-integration-knowledge

Apache-2.0Updated on Nov 11, 202692,189GitHub stars

The main reference skill in Home Assistant's core repository for building, testing and reviewing integrations.

What the skill teaches

The main reference skill in Home Assistant's core repository for building, testing and reviewing integrations. It tells the agent where integration code and tests live, and gives house rules: keep integrations thin with protocol logic in a separate PyPI library, do not let users set polling intervals or name config entries, use standard config flow error keys, ship dependency bumps on their own, and keep entity setup and teardown symmetrical. It explains how to apply the Integration Quality Scale tiers and track them in a YAML file, how to name new actions, and how to write tests through Home Assistant itself with shared fixtures and snapshots. Separate guides cover device trackers, diagnostics and repair issues.

Capabilities

  • Apply Home Assistant integration coding rules
  • Check integrations against the Quality Scale tiers
  • Write integration tests with shared fixtures and snapshots
  • Review integration pull requests against house rules