diff --git a/src/panels/config/helpers/forms/ha-input_number-form.ts b/src/panels/config/helpers/forms/ha-input_number-form.ts
index 759d96a507..9fa309e54a 100644
--- a/src/panels/config/helpers/forms/ha-input_number-form.ts
+++ b/src/panels/config/helpers/forms/ha-input_number-form.ts
@@ -26,6 +26,8 @@ class HaInputNumberForm extends LitElement {
@state() private _min?: number;
+ @state() private _initial?: number;
+
@state() private _mode?: string;
@state() private _step?: number;
@@ -42,6 +44,7 @@ class HaInputNumberForm extends LitElement {
this._min = item.min ?? 0;
this._mode = item.mode || "slider";
this._step = item.step ?? 1;
+ this._initial = item.initial ?? 0;
this._unit_of_measurement = item.unit_of_measurement;
} else {
this._item = {
@@ -54,6 +57,7 @@ class HaInputNumberForm extends LitElement {
this._min = 0;
this._mode = "slider";
this._step = 1;
+ this._initial = 0;
}
}
@@ -112,6 +116,15 @@ class HaInputNumberForm extends LitElement {
"ui.dialogs.helper_settings.input_number.max"
)}
>
+