diff --git a/src/panels/config/integrations/ha-integration-card.ts b/src/panels/config/integrations/ha-integration-card.ts index 328dd6367f..be687830cc 100644 --- a/src/panels/config/integrations/ha-integration-card.ts +++ b/src/panels/config/integrations/ha-integration-card.ts @@ -55,6 +55,10 @@ declare global { } const integrationsWithPanel = { + hassio: { + buttonLocalizeKey: "ui.panel.config.hassio.button", + path: "/hassio/dashboard", + }, mqtt: { buttonLocalizeKey: "ui.panel.config.mqtt.button", path: "/config/mqtt", @@ -344,7 +348,8 @@ export class HaIntegrationCard extends LitElement { `} ${!item.disabled_by && item.state === "loaded" && - item.supports_unload + item.supports_unload && + item.source !== "system" ? html` ${this.hass.localize( "ui.panel.config.integrations.config_entry.reload" @@ -355,20 +360,24 @@ export class HaIntegrationCard extends LitElement { ? html` ${this.hass.localize("ui.common.enable")} ` - : html` ${this.hass.localize("ui.common.disable")} - `} - - ${this.hass.localize( - "ui.panel.config.integrations.config_entry.delete" - )} - + ` + : ""} + ${item.source !== "system" + ? html` + ${this.hass.localize( + "ui.panel.config.integrations.config_entry.delete" + )} + ` + : ""} diff --git a/src/translations/en.json b/src/translations/en.json index 0008e06119..1828dbf15f 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2232,6 +2232,9 @@ "create": "Create" } }, + "hassio": { + "button": "Configure" + }, "mqtt": { "button": "Configure", "title": "MQTT",