mirror of
https://github.com/home-assistant/frontend.git
synced 2026-08-16 10:02:41 +01:00
The built-in trigger/condition/action schemas carried English descriptions inline, which surfaced untranslated in the hover tooltip and completion info. Store translation keys in `description` instead — the hover element and the completion source already localize it and fall back to the raw string, which keeps backend-supplied descriptions (services, integration triggers and conditions) working unchanged. Adds the strings under `ui.panel.config.automation.editor.yaml_schema`, plus a test asserting every built-in description key resolves in en.json. Also drops the remaining `any` casts in serviceActionSchema in favour of a declared ServiceField shape. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>