diff --git a/src/panels/config/integrations/ha-config-integrations-dashboard.ts b/src/panels/config/integrations/ha-config-integrations-dashboard.ts index d670e5894c..2e60ec2935 100644 --- a/src/panels/config/integrations/ha-config-integrations-dashboard.ts +++ b/src/panels/config/integrations/ha-config-integrations-dashboard.ts @@ -383,16 +383,20 @@ class HaConfigIntegrationsDashboard extends SubscribeMixin(LitElement) { )}
- ${ignoredConfigEntries.map( - (entry: ConfigEntryExtended) => html` - - ` - )} + ${ignoredConfigEntries.length > 0 + ? ignoredConfigEntries.map( + (entry: ConfigEntryExtended) => html` + + ` + ) + : html`${this.hass.localize( + "ui.panel.config.integrations.no_ignored_integrations" + )}`}
` : ""} ${configEntriesInProgress.length @@ -417,16 +421,20 @@ class HaConfigIntegrationsDashboard extends SubscribeMixin(LitElement) { ${this.hass.localize("ui.panel.config.integrations.disabled")}
- ${disabledConfigEntries.map( - (entry: ConfigEntryExtended) => html` - - ` - )} + ${disabledConfigEntries.length > 0 + ? disabledConfigEntries.map( + (entry: ConfigEntryExtended) => html` + + ` + ) + : html`${this.hass.localize( + "ui.panel.config.integrations.no_disabled_integrations" + )}`}
` : ""} ${configEntriesInProgress.length || diff --git a/src/translations/en.json b/src/translations/en.json index b8324e57e7..44bf822d05 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -3377,6 +3377,8 @@ "confirm_new": "Do you want to set up {integration}?", "add_integration": "Add integration", "no_integrations": "Seems like you don't have any integrations configured yet. Click on the button below to add your first integration!", + "no_disabled_integrations": "No disabled integrations", + "no_ignored_integrations": "No ignored integrations", "note_about_integrations": "No integrations matched your search, the integration you want to set up might not be available to set up via the UI yet.", "note_about_website_reference": "More are available on the ", "home_assistant_website": "Home Assistant website",