Discovered integration: configure -> add (#22387)

This commit is contained in:
Paulus Schoutsen 2024-10-15 15:35:16 -04:00 committed by GitHub
parent c098858b73
commit a32dee7071
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View File

@ -44,9 +44,9 @@ export class HaConfigFlowCard extends LitElement {
unelevated
@click=${this._continueFlow}
.label=${this.hass.localize(
`ui.panel.config.integrations.${
attention ? "reconfigure" : "configure"
}`
attention
? "ui.panel.config.integrations.reconfigure"
: "ui.common.add"
)}
></ha-button>
${DISCOVERY_SOURCES.includes(this.flow.context.source) &&

View File

@ -484,9 +484,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
unelevated
.flow=${flow}
@click=${this._continueFlow}
.label=${this.hass.localize(
"ui.panel.config.integrations.configure"
)}
.label=${this.hass.localize("ui.common.add")}
></ha-button>
</ha-md-list-item>`
)}