Don't show no config flow message when source = system (#24425)

dont show no config flow message when source = system
This commit is contained in:
Bram Kragten 2025-02-27 16:15:42 +01:00 committed by GitHub
parent 8848911b34
commit 3a1d371b0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -186,7 +186,9 @@ export class HaIntegrationCard extends LitElement {
</ha-tooltip>
</div>`
: nothing}
${this.manifest && !this.manifest?.config_flow
${this.manifest &&
!this.manifest?.config_flow &&
!this.items.every((itm) => itm.source === "system")
? html`<div class="icon yaml">
<ha-tooltip
.placement=${computeRTL(this.hass) ? "right" : "left"}