Skip to content
Open
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/panels/config/integrations/ha-config-integration-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,13 +533,16 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
.appearance=${canAddDevice ? "filled" : "accent"}
@click=${this._addIntegration}
>
${this._manifest?.integration_type
${this.hass.localize(
`component.${this.domain}.config.initiate_flow.user`
) ||
(this._manifest?.integration_type
? this.hass.localize(
`ui.panel.config.integrations.integration_page.add_${this._manifest.integration_type}`
)
: this.hass.localize(
`ui.panel.config.integrations.integration_page.add_entry`
)}
))}
</ha-button>`
: nothing}
${Array.from(supportedSubentryTypes).map(
Expand Down
Loading