mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 07:46:37 +00:00
Fix changing cost number in energy settings (#12009)
This commit is contained in:
parent
f89b8cffcf
commit
294a69d7e4
@ -240,7 +240,7 @@ export class DialogEnergyGridFlowSettings
|
|||||||
this._costStat = null;
|
this._costStat = null;
|
||||||
this._source = {
|
this._source = {
|
||||||
...this._source!,
|
...this._source!,
|
||||||
number_energy_price: Number(ev.detail.value),
|
number_energy_price: Number((ev.target as any).value),
|
||||||
entity_energy_price: null,
|
entity_energy_price: null,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user