From 90b9eaeb19d9b958bf4dd63c5ad206b311c44cfd Mon Sep 17 00:00:00 2001 From: Ben Randall Date: Mon, 14 Nov 2022 11:30:51 -0500 Subject: [PATCH] fix: don't render extra fields when there are none (#14374) --- .../automation/action/types/ha-automation-action-device_id.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`