mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
MAX: remove unnecessary check
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2669 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
53372b91ac
commit
bccf185301
@ -199,10 +199,8 @@ MAX_Set($@)
|
||||
#TODO: auto mode with temperature is also possible
|
||||
} elsif($args[0] eq "eco") {
|
||||
$temperature = MAX_ReadingsVal($hash,"ecoTemperature");
|
||||
return "No ecoTemperature defined" if(!$temperature);
|
||||
} elsif($args[0] eq "comfort") {
|
||||
$temperature = MAX_ReadingsVal($hash,"comfortTemperature");
|
||||
return "No comfortTemperature defined" if(!$temperature);
|
||||
}else{
|
||||
$temperature = MAX_ParseTemperature($args[0]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user