Fix timer removing the default value of 00:00:00 if name or icon set (#11147)

This commit is contained in:
Paulus Schoutsen
2022-01-10 13:46:04 -08:00
committed by GitHub
parent 3e22270c2c
commit e94fc493b8

View File

@@ -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 = "";