From a9378abe31600240511948f5ad22a64913896947 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Wed, 28 Dec 2022 21:06:48 -0800 Subject: [PATCH] Fix days missing from ha-base-time-input _valueChanged (#14910) * Fix days missing from ha-base-time-input _valueChanged * style change --- src/components/ha-base-time-input.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ha-base-time-input.ts b/src/components/ha-base-time-input.ts index 9ada34f871..8db3e132e1 100644 --- a/src/components/ha-base-time-input.ts +++ b/src/components/ha-base-time-input.ts @@ -266,6 +266,9 @@ export class HaBaseTimeInput extends LitElement { seconds: this.seconds, milliseconds: this.milliseconds, }; + if (this.enableDay) { + value.days = this.days; + } if (this.format === 12) { value.amPm = this.amPm; }