flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
628 stars 75 forks source link

Individual source multiplies when unit of measurement is changed [BUG] #698

Open DeanoNoire opened 2 months ago

DeanoNoire commented 2 months ago

Describe the bug When I change the unit of measurement to anything, the value is multiplied 1000 times. Please see included screenshot displaying the behavior.

To Reproduce Steps to reproduce the behavior: Add unit of measurement of Individual source.

Expected behavior Not to change the value.

Screenshots image image

Browser Console Errors None.

Desktop (please complete the following information): Tested on both Windows and Ubuntu machines. Chrome and Firefox.

Smartphone (please complete the following information):

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

IIIdefconIII commented 2 months ago

i have a sort alike issue posted here yesterday

https://github.com/flixlix/power-flow-card-plus/issues/696