diff --git a/src/panels/config/integrations/ha-config-integration-page.ts b/src/panels/config/integrations/ha-config-integration-page.ts index 6638686912f5..881279cd7ee0 100644 --- a/src/panels/config/integrations/ha-config-integration-page.ts +++ b/src/panels/config/integrations/ha-config-integration-page.ts @@ -772,27 +772,29 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { : ""} ${item.disabled_by === "user" - ? html` + ? html` ${this.hass.localize("ui.common.enable")} - ` + ` : configPanel && - (item.domain !== "matter" || isDevVersion(this.hass.config.version)) + (item.domain !== "matter" || + isDevVersion(this.hass.config.version)) && + !stateText ? html` + > ${this.hass.localize( "ui.panel.config.integrations.config_entry.configure" )} - ` - : item.supports_options && !stateText + : item.supports_options ? html` - + ${this.hass.localize( "ui.panel.config.integrations.config_entry.configure" )} - + ` : ""} @@ -801,14 +803,6 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { .label=${this.hass.localize("ui.common.menu")} .path=${mdiDotsVertical} > - ${item.supports_options && stateText - ? html` - - ${this.hass.localize( - "ui.panel.config.integrations.config_entry.configure" - )} - ` - : ""} ${item.disabled_by && devices.length ? html`