Add script hide picker again (#23512)

This commit is contained in:
Simon Lamon 2024-12-30 16:21:22 +01:00 committed by Bram Kragten
parent 4686808e53
commit 700690474c
2 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,7 @@ export class HaServiceControl extends LitElement {
@property({ attribute: "show-advanced", type: Boolean }) public showAdvanced =
false;
@property({ attribute: false, type: Boolean, reflect: true })
@property({ attribute: "hide-picker", type: Boolean, reflect: true })
public hidePicker = false;
@property({ attribute: "hide-description", type: Boolean })

View File

@ -99,6 +99,7 @@ class MoreInfoScript extends LitElement {
${this.hass.localize("ui.card.script.run_script")}
</div>
<ha-service-control
hide-picker
hide-description
.hass=${this.hass}
.value=${this._scriptData}