Fix link to config panels (#8936)

This commit is contained in:
Bram Kragten 2021-04-18 07:12:07 +02:00 committed by GitHub
parent b76c67fc9b
commit 97d5e6512d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,9 +272,9 @@ export class HaIntegrationCard extends LitElement {
</mwc-button>`
: item.domain in integrationsWithPanel
? html`<a
href=${`${
integrationsWithPanel[item.domain].path
}?config_entry=${item.entry_id}`}
href=${`${integrationsWithPanel[item.domain]}?config_entry=${
item.entry_id
}`}
><mwc-button>
${this.hass.localize(
"ui.panel.config.integrations.config_entry.configure"