diff --git a/src/panels/config/automation/action/types/ha-automation-action-device_id.ts b/src/panels/config/automation/action/types/ha-automation-action-device_id.ts index f4881e2f9a..a9bb544b73 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-device_id.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-device_id.ts @@ -70,7 +70,7 @@ export class HaDeviceAction extends LitElement { "ui.panel.config.automation.editor.actions.type.device_id.action" )} > - ${this._capabilities?.extra_fields + ${this._capabilities?.extra_fields?.length ? html`