From e94fc493b8b49ee5e85ecdf1db664282fa67efd1 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 10 Jan 2022 13:46:04 -0800 Subject: [PATCH] Fix timer removing the default value of 00:00:00 if name or icon set (#11147) --- src/panels/config/helpers/forms/ha-timer-form.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/helpers/forms/ha-timer-form.ts b/src/panels/config/helpers/forms/ha-timer-form.ts index 800fefcc27..32e1f25e7a 100644 --- a/src/panels/config/helpers/forms/ha-timer-form.ts +++ b/src/panels/config/helpers/forms/ha-timer-form.ts @@ -25,7 +25,7 @@ class HaTimerForm extends LitElement { if (item) { this._name = item.name || ""; this._icon = item.icon || ""; - this._duration = item.duration || ""; + this._duration = item.duration || "00:00:00"; } else { this._name = ""; this._icon = "";