2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-18 18:16:03 +00:00

FHEM/10_MAX.pm: put until into shash for WallThermostats (by habeIchVergesssen)

This was already the case for HeaterThermostats

git-svn-id: https://svn.fhem.de/fhem/trunk@12107 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2016-09-01 18:25:08 +00:00
parent 4869155b9d
commit ae2941bf06

View File

@ -721,6 +721,9 @@ MAX_Parse($$)
if(defined($null2) and ($null1 != 0 or $null2 != 0)) {
$untilStr = MAX_ParseDateTime($null1,$heaterTemperature,$null2)->{str};
$heaterTemperature = "";
$shash->{until} = "$untilStr";
} else {
delete($shash->{until});
}
$heaterTemperature = "" if(!defined($heaterTemperature));