Back to list
plebann

ha-translations-and-ids

by plebann

2🍴 0📅 Jan 12, 2026

SKILL.md


name: ha-translations-and-ids description: Home Assistant translation_key and identifier practices—entity/device naming via translations, stable unique IDs, and migration tips. license: Complete terms in LICENSE.txt

HA Translations & IDs

Use when fixing names/IDs in a custom component.

Quick start

  • Set _attr_translation_key and _attr_has_entity_name=True; keep code names minimal.
  • Provide names under entity.<platform>.<translation_key>.name in translations JSON.
  • Keep unique_ids stable; prefer device serial/model over mutable unit_id.
  • Device identifiers should not change across reloads; plan migrations if format changes.

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