Back to list
plebann

ha-entity-architecture

by plebann

2🍴 0📅 Jan 12, 2026

SKILL.md


name: ha-entity-architecture description: Layered Home Assistant custom entity architecture—CoordinatorEntity bases, platform/category bases, registry-only platform files, translation-backed naming, stable IDs, and options reload wiring. license: Complete terms in LICENSE.txt

HA Entity Architecture

Use when organizing entities for a custom component.

Quick start

  • Create shared base (CoordinatorEntity) for device_info/availability/data helpers.
  • Add platform bases (sensor/binary_sensor/etc.) and optional category bases.
  • Keep platform files as registries; concrete entities live in grouped modules.
  • Set _attr_has_entity_name=True and _attr_translation_key for localization; avoid hardcoded names.
  • Register options update listener to reload on change.

References

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon