nymea-plugins icon indicating copy to clipboard operation
nymea-plugins copied to clipboard

Tado: setStateValue() is outside of the min/max

Open simonseres opened this issue 3 years ago • 0 comments

the plugin in the json says "min: x, max: y" but then does a setStateValue() which is outside of the min/max the core corrects that to the closest limit, and spits out this warning:

W | Thing: "Küche Heizung": Invalid value QVariant(double, 0) for state "targetTemperature". Out of range: QVariant(double, 5) - QVariant(double, 25) (Correcting to closest value within range)
W | Thing: "Wohnzimmer Heizung": Invalid value QVariant(double, 0) for state "targetTemperature". Out of range: QVariant(double, 5) - QVariant(double, 25) (Correcting to closest value within range)
W | Thing: "Schlafzimmer Heizung": Invalid value QVariant(double, 0) for state "targetTemperature". Out of range: QVariant(double, 5) - QVariant(double, 25) (Correcting to closest value within range)

simonseres avatar Apr 28 '21 15:04 simonseres