5 Commits
Author SHA1 Message Date
Bram KragtenandClaude Opus 5 769176243f Reflow the name union after dropping parent_device
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 23:36:54 +02:00
Bram KragtenandClaude Opus 5 7fc93eecea Keep an empty name meaning "use Home Assistant's name"
formatEntityName returns any string it is given verbatim, the empty one
included, so `name: ''` blanked the label where it previously fell through
to the friendly name. It now reaches the formatter as undefined.

Also drops `parent_device` from the accepted name parts. It only landed in
the frontend on 2026-09-10 and is in no release yet, so under the 2026.4
gate it was silently ignored.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 12:48:36 +01:00
Bram KragtenandClaude Opus 5 64b83101dd Guard against a hass without formatEntityName
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 12:33:10 +02:00
Bram KragtenandClaude Opus 5 547b34e85a Add explicit return types to schema helpers
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 15:15:03 +02:00
Bram KragtenandClaude Opus 5 1069a8e7e4 Resolve entity names via hass.formatEntityName
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 15:08:51 +02:00