Fix sections item translation for config flow (#21924)

This commit is contained in:
karwosts 2024-09-08 08:24:59 -07:00 committed by GitHub
parent de292a8143
commit 7f6325fa5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,7 @@ export const showConfigFlowDialog = (
);
}
const prefix = options?.path?.[0] ? `sections.${options.path[0]}` : "";
const prefix = options?.path?.[0] ? `sections.${options.path[0]}.` : "";
return (
hass.localize(