Closed jaroschek closed 9 months ago
@7RST1
I have also modified the calculation of the min and max values in your water_heater
platform implementation.
Would you be so kind and check, if the usage of the scaleValue
does also work for you?
Just tested the branch, and it seems like everything works :)
As discovered in #21 the values for
minValue
,maxValue
andstepValue
are always provides as Integers even if they should support decimals. To accomplish this thestepValue
as to be used as multiplier.The following values provided by the API have to be modified:
Using the
scaleValue
of0.1
as multiplier will result in aminValue
of5.0
, amaxValue
of30.0
and astepValue
of0.5
.