Preserve ancillary fields in a repeat action when modifying the form (#18068)

This commit is contained in:
karwosts 2023-10-04 05:36:58 -07:00 committed by GitHub
parent 242b018ece
commit 32bc8bd01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,6 +139,7 @@ export class HaRepeatAction extends LitElement implements ActionElement {
fireEvent(this, "value-changed", {
value: {
...this.action,
repeat: { ...newVal },
},
});