From 2aeea10fc11b33b7edc7ba9dda713372aa5db436 Mon Sep 17 00:00:00 2001 From: Zack Date: Thu, 10 Feb 2022 14:15:45 -0600 Subject: [PATCH] QUick Fix from a review --- .../automation/trigger/types/ha-automation-trigger-state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/automation/trigger/types/ha-automation-trigger-state.ts b/src/panels/config/automation/trigger/types/ha-automation-trigger-state.ts index d50304561a..5e6b88d0e1 100644 --- a/src/panels/config/automation/trigger/types/ha-automation-trigger-state.ts +++ b/src/panels/config/automation/trigger/types/ha-automation-trigger-state.ts @@ -91,7 +91,7 @@ export class HaStateTrigger extends LitElement implements TriggerElement { protected render() { const trgFor = createDurationData(this.trigger.for); - const data = { ...this.trigger, ...{ for: trgFor } }; + const data = { ...this.trigger, for: trgFor }; const schema = this._schema(this.trigger.entity_id); return html`