Dont show quality scale for custom integrations (#24783)

This commit is contained in:
Bram Kragten 2025-03-26 08:46:43 +01:00 committed by GitHub
parent fb11c21518
commit 1cb71ed379
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -399,7 +399,8 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
</div> </div>
<div class="card-actions"> <div class="card-actions">
${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
) )