pool-monitor-card icon indicating copy to clipboard operation
pool-monitor-card copied to clipboard

[BUG] Wrong display of steps when setpoint is an integer

Open GeorgeBark opened this issue 1 year ago • 0 comments

Describe the bug When the setpoint is overriden with an integer value, even if the step is float, the values shown are ronded.

To Reproduce

total_chlorine_name: Chlorine
total_chlorine_unit: mg/L
total_chlorine_setpoint: 1
total_chlorine_step: 0.4

As shown in the screenshot below, it will round the steps. Even entering 1.0, same behavior

Expected behavior Display the 1 as 1.0 and the steps correctly.

Screenshots Screenshot 2023-09-16 at 22 01 35

Screenshot 2023-09-16 at 22 01 25

GeorgeBark avatar Sep 16 '23 20:09 GeorgeBark