mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
TC temp-only berichtigt - typo
git-svn-id: https://svn.fhem.de/fhem/trunk@1982 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aca4737104
commit
462f6001f0
@ -1868,13 +1868,13 @@ CUL_HM_Set($@)
|
|||||||
($cmd eq "controlMode")||($cmd eq "decalcDay") ||
|
($cmd eq "controlMode")||($cmd eq "decalcDay") ||
|
||||||
($cmd eq "displayTempUnit") ){ ########################################
|
($cmd eq "displayTempUnit") ){ ########################################
|
||||||
my %regs = (displayTemp =>{actual=>0,setpoint=>2},
|
my %regs = (displayTemp =>{actual=>0,setpoint=>2},
|
||||||
displayMode =>{"temp-hum"=>1,"temp-only"=>1},
|
displayMode =>{"temp-only"=>0,"temp-hum"=>1},
|
||||||
displayTempUnit =>{celsius=>1,fahrenheit=>4},
|
displayTempUnit =>{celsius=>0,fahrenheit=>4},
|
||||||
controlMode =>{manual=>0,auto=>8,central=>16,party=>24},
|
controlMode =>{manual=>0,auto=>8,central=>16,party=>24},
|
||||||
decalcDay =>{"Sat"=>0 ,"Sun"=>32 ,"Mon"=>64,"Tue"=>96,
|
decalcDay =>{Sat=>0 ,Sun=>32 ,Mon=>64,Tue=>96,
|
||||||
"Wed"=>128,"Thu"=>160,"Fri"=>192});
|
Wed=>128,Thu=>160,Fri=>192});
|
||||||
return $a[2]."invalid for ".$cmd." select one of ".
|
return $a[2]."invalid for ".$cmd." select one of ".
|
||||||
join (" ",sort keys %{$regs{$cmd}}) if(!defined($regs{$cmd}{$a[2]}));
|
join (" ",sort keys %{$regs{$cmd}}) if(!defined($regs{$cmd}{$a[2]}));
|
||||||
$hash->{READINGS}{$cmd}{TIME} = TimeNow(); # update new value
|
$hash->{READINGS}{$cmd}{TIME} = TimeNow(); # update new value
|
||||||
$hash->{READINGS}{$cmd}{VAL} = $a[2];
|
$hash->{READINGS}{$cmd}{VAL} = $a[2];
|
||||||
my $tcnf = 0;
|
my $tcnf = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user