From 32bc8bd01dd2c71de16a75b2fa2526dcddcbc722 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Wed, 4 Oct 2023 05:36:58 -0700 Subject: [PATCH] Preserve ancillary fields in a repeat action when modifying the form (#18068) --- .../automation/action/types/ha-automation-action-repeat.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/automation/action/types/ha-automation-action-repeat.ts b/src/panels/config/automation/action/types/ha-automation-action-repeat.ts index fa4d36a69a..890133d250 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-repeat.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-repeat.ts @@ -139,6 +139,7 @@ export class HaRepeatAction extends LitElement implements ActionElement { fireEvent(this, "value-changed", { value: { + ...this.action, repeat: { ...newVal }, }, });