Do not display quality scale for custom integrations (#26006)

This commit is contained in:
Paul Bottein 2025-06-30 18:10:08 +02:00 committed by GitHub
parent 0fbd430594
commit 49099223d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -432,7 +432,8 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
)} )}
</div>` </div>`
: nothing} : nothing}
${this._manifest?.quality_scale && ${this._manifest?.is_built_in &&
this._manifest.quality_scale &&
Object.keys(QUALITY_SCALE_MAP).includes( Object.keys(QUALITY_SCALE_MAP).includes(
this._manifest.quality_scale this._manifest.quality_scale
) )