pool-monitor-card
pool-monitor-card copied to clipboard
[BUG] Wrong display of steps when setpoint is an integer
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