MAX: do not substract measurementOffset from received temperatere. This

is already done in the HeatingThermostat.

git-svn-id: https://svn.fhem.de/fhem/trunk@8680 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2015-06-02 21:36:54 +00:00
parent a26210d7ae
commit 647d2d7f08

View File

@@ -674,9 +674,6 @@ MAX_Parse($$)
#Very seldomly, the HeatingThermostat sends us temperatures like 0.2 or 0.3 degree Celcius - ignore them
$measuredTemperature = "" if($measuredTemperature ne "" and $measuredTemperature < 1);
my $measOffset = MAX_ReadingsVal($shash,"measurementOffset");
$measuredTemperature -= $measOffset if($measuredTemperature ne "" and $measOffset ne "" and $shash->{type} =~ /HeatingThermostatPlus/ and $hash->{TYPE} eq "MAXLAN");
$shash->{mode} = $mode;
$shash->{rferror} = $rferror;
$shash->{dstsetting} = $dstsetting;