diff --git a/fhem/FHEM/10_MAX.pm b/fhem/FHEM/10_MAX.pm
index ff1a58b56..ea1ff6c19 100755
--- a/fhem/FHEM/10_MAX.pm
+++ b/fhem/FHEM/10_MAX.pm
@@ -193,7 +193,7 @@ MAX_Set($@)
if($args[0] eq "auto") {
#This enables the automatic/schedule mode where the thermostat follows the weekly program
- $temperature = 0;
+ $temperature = @args > 1 ? MAX_ParseTemperature($args[1]) : 0;
$ctrlmode = 0; #auto
} elsif($args[0] eq "boost") {
$temperature = 0;
@@ -627,7 +627,7 @@ MAX_Parse($$)
degree celcius between 3.5 and 30.5 in 0.5 degree steps
"on" or "off" correspondig to 30.5 and 4.5 degree celcius
"eco" or "comfort" using the eco/comfort temperature set on the device (just as the right-most physical button on the device itself does)
- "auto", where the weekly program saved on the thermostat is processed
+ "auto <temperature>". The weekly program saved on the thermostat is processed. If the optional <temperature> is given, it is set as desiredTemperature until the next switch point of the weekly program.
"boost", activates the boost mode, where for boostDuration minutes the valve is opened up boostValveposition percent.
All values but "auto" maybe accompanied by the "until" clause, with <data> in format "dd.mm.yyyy HH:MM" (minutes may only be "30" or "00"!)