diff --git a/src/panels/config/integrations/ha-integration-card.ts b/src/panels/config/integrations/ha-integration-card.ts index 2d4a39b486..28621b5e63 100644 --- a/src/panels/config/integrations/ha-integration-card.ts +++ b/src/panels/config/integrations/ha-integration-card.ts @@ -5,6 +5,7 @@ import { mdiCogOutline, mdiDevices, mdiHandExtendedOutline, + mdiPuzzleOutline, mdiShapeOutline, } from "@mdi/js"; import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit"; @@ -140,6 +141,22 @@ export class HaIntegrationCard extends LitElement { ` : ""} + ${devices.length === 0 && entities.length === 0 + ? html` + + + ${this.hass.localize( + `ui.panel.config.integrations.config_entry.entries`, + "count", + this.items.length + )} + + + ` + : ""} `; } diff --git a/src/translations/en.json b/src/translations/en.json index 076091255e..d8ddbfbbbc 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -3266,6 +3266,7 @@ "devices": "{count} {count, plural,\n one {device}\n other {devices}\n}", "entities": "{count} {count, plural,\n one {entity}\n other {entities}\n}", "services": "{count} {count, plural,\n one {service}\n other {services}\n}", + "entries": "{count} {count, plural,\n one {entry}\n other {entries}\n}", "rename": "Rename", "configure": "Configure", "system_options": "System options",