mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Fix timer removing the default value of 00:00:00 if name or icon set (#11147)
This commit is contained in:
parent
3e22270c2c
commit
e94fc493b8
@ -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 = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user