← スキル一覧に戻る

ha-entity-architecture
by plebann
⭐ 2🍴 0📅 2026年1月12日
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=Trueand_attr_translation_keyfor localization; avoid hardcoded names. - Register options update listener to reload on change.
References
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です