Remove weird colon from integration setup error text (#17086)

This commit is contained in:
Philip Allgaier 2023-06-29 09:40:09 +02:00 committed by GitHub
parent 6d1ea41449
commit fc86c82540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,8 +543,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
];
if (item.reason) {
this.hass.loadBackendTranslation("config", item.domain);
stateTextExtra = html`:
${this.hass.localize(
stateTextExtra = html`${this.hass.localize(
`component.${item.domain}.config.error.${item.reason}`
) || item.reason}`;
} else {