mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-06 06:08:44 +00:00
MAX: return valid temperatures in form %2.1f for FHEMWEB
git-svn-id: https://svn.fhem.de/fhem/trunk@2153 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b5299b0eb1
commit
4ae8d769ee
@ -159,7 +159,7 @@ MAX_Set($@)
|
||||
}else{
|
||||
if($hash->{type} eq "HeatingThermostat") {
|
||||
#Create numbers from 4.5 to 30.5
|
||||
my $templist = join(",",map { $_/2 } (9..61));
|
||||
my $templist = join(",",map { sprintf("%2.1f",$_/2) } (9..61));
|
||||
return "Unknown argument $setting, choose one of desiredTemperature:eco,comfort,$templist ecoTemperature comfortTemperature temperatureOffset maximumTemperature minimumTemperature windowOpenTemperature windowOpenDuration groupid removeDevice";
|
||||
} else {
|
||||
return "Unknown argument $setting, choose one of groupid removeDevice";
|
||||
|
Loading…
x
Reference in New Issue
Block a user