SKILL.md
HA Translations & IDs
Use when fixing names/IDs in a custom component.
Quick start
- Set
attrtranslationkeyandattrhasentity_name=True; keep code names minimal. - Provide names under
entity.<platform>.<translation_key>.namein translations JSON. - Keep uniqueids stable; prefer device serial/model over mutable unitid.
- Device identifiers should not change across reloads; plan migrations if format changes.
References
- [references/translations-json.md](references/translations-json.md)
- [references/ids-and-migrations.md](references/ids-and-migrations.md)