a) doesn't properly reflect the state of the Heater, because it only uses HEATING and INACTIVE.
If a Heater is above its target temerature, the heater ist still active, but in IDLE mode.
b) Temparature measurement of a heater may be off by some amount. Adding an offset will fix this
c) In SimpleHeater there's no need for targetTemperatureDivisor. Instead _getDividedState() is the way to do.
This fixes #467. Further _getDividedState() is used an essential for the temperature offset.
SimpleHeater:
a) doesn't properly reflect the state of the Heater, because it only uses HEATING and INACTIVE. If a Heater is above its target temerature, the heater ist still active, but in IDLE mode.
b) Temparature measurement of a heater may be off by some amount. Adding an offset will fix this
c) In SimpleHeater there's no need for targetTemperatureDivisor. Instead _getDividedState() is the way to do. This fixes #467. Further _getDividedState() is used an essential for the temperature offset.
This PR adds these three issues.