From e32b15ede2c3795a298896c0aae832834d8a71a4 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Mon, 7 Oct 2024 16:49:44 +0300 Subject: [PATCH] Hide service dropdown for predefined actions in automations (#22275) Hide service dropdown for predefined actions --- .../automation/action/types/ha-automation-action-service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/automation/action/types/ha-automation-action-service.ts b/src/panels/config/automation/action/types/ha-automation-action-service.ts index 3aef27db0224..84bde7e200d3 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-service.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-service.ts @@ -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} > ${domain && service && this.hass.services[domain]?.[service]?.response