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

This commit is contained in:
Paul Bottein 2025-06-30 18:10:08 +02:00
parent 2e223e637b
commit 6e84fee791
No known key found for this signature in database

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
) )