2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

MAX: force correct formatting of preset temperatures

git-svn-id: https://svn.fhem.de/fhem/trunk@4270 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2013-11-23 11:19:37 +00:00
parent 0a13c7182d
commit ac649f4999

View File

@ -770,7 +770,16 @@ MAX_Parse($$)
} elsif(grep /^$msgtype$/, ("AckConfigValve", "AckConfigTemperatures", "AckSetDisplayActualTemperature" )) {
if($args[0] == "windowOpenTemperature"
|| $args[0] == "comfortTemperature"
|| $args[0] == "ecoTemperature"
|| $args[0] == "maximumTemperature"
|| $args[0] == "minimumTemperature" ) {
readingsBulkUpdate($shash, $args[0], MAX_SerializeTemperature($args[1]));
} else {
#displayActualTemperature, boostDuration, boostValveSetting, maxValve, decalcification, valveOffset
readingsBulkUpdate($shash, $args[0], $args[1]);
}
} elsif(grep /^$msgtype$/, ("AckSetGroupId", "AckRemoveGroupId" )) {