本文へスキップ
Kitbay
スキル公式

ha-integration-knowledge

Apache-2.02026年11月11日 更新92,189GitHubスター

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

スキルの内容

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.

できること

  • 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