Dont show options button for helpers that dont support it (#16089)

This commit is contained in:
Bram Kragten 2023-04-06 15:32:16 +02:00 committed by GitHub
parent 4c702ac7c2
commit 54f8d33b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -663,7 +663,7 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
)}
</ha-select>`
: ""}
${this._helperConfigEntry
${this._helperConfigEntry && this._helperConfigEntry.supports_options
? html`
<div class="row">
<mwc-button