Hide service dropdown for predefined actions in automations (#22275)

Hide service dropdown for predefined actions
This commit is contained in:
Petar Petrov 2024-10-07 16:49:44 +03:00 committed by GitHub
parent a35b4376ea
commit e32b15ede2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,6 +117,7 @@ export class HaServiceAction extends LitElement implements ActionElement {
.value=${this._action}
.disabled=${this.disabled}
.showAdvanced=${this.hass.userData?.showAdvanced}
.hidePicker=${!!this._action.metadata}
@value-changed=${this._actionChanged}
></ha-service-control>
${domain && service && this.hass.services[domain]?.[service]?.response