mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Hide service dropdown for predefined actions in automations (#22275)
Hide service dropdown for predefined actions
This commit is contained in:
parent
a35b4376ea
commit
e32b15ede2
@ -117,6 +117,7 @@ export class HaServiceAction extends LitElement implements ActionElement {
|
|||||||
.value=${this._action}
|
.value=${this._action}
|
||||||
.disabled=${this.disabled}
|
.disabled=${this.disabled}
|
||||||
.showAdvanced=${this.hass.userData?.showAdvanced}
|
.showAdvanced=${this.hass.userData?.showAdvanced}
|
||||||
|
.hidePicker=${!!this._action.metadata}
|
||||||
@value-changed=${this._actionChanged}
|
@value-changed=${this._actionChanged}
|
||||||
></ha-service-control>
|
></ha-service-control>
|
||||||
${domain && service && this.hass.services[domain]?.[service]?.response
|
${domain && service && this.hass.services[domain]?.[service]?.response
|
||||||
|
Loading…
x
Reference in New Issue
Block a user