mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 22:06:34 +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) {
|
if (item) {
|
||||||
this._name = item.name || "";
|
this._name = item.name || "";
|
||||||
this._icon = item.icon || "";
|
this._icon = item.icon || "";
|
||||||
this._duration = item.duration || "";
|
this._duration = item.duration || "00:00:00";
|
||||||
} else {
|
} else {
|
||||||
this._name = "";
|
this._name = "";
|
||||||
this._icon = "";
|
this._icon = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user