1
mirror of https://github.com/home-assistant/frontend synced 2024-09-17 11:58:44 +02:00

Fix changing cost number in energy settings (#12009)

This commit is contained in:
Zack Barett 2022-03-11 11:37:22 -06:00 committed by GitHub
parent f89b8cffcf
commit 294a69d7e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ export class DialogEnergyGridFlowSettings
this._costStat = null;
this._source = {
...this._source!,
number_energy_price: Number(ev.detail.value),
number_energy_price: Number((ev.target as any).value),
entity_energy_price: null,
};
}