correct TC mode readng at set

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6286 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-07-20 15:10:51 +00:00
parent 2781e2f0e6
commit 4cd4e0eac3

View File

@@ -3731,7 +3731,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
$sh,$sd,$sy,$eh,$ed,$ey,($sm*16+$em));
}
my %mCmd = (auto=>0,manual=>1,party=>2,boost=>3,day=>4,night=>5);
CUL_HM_UpdtReadSingle($hash,"mode","set_".$mode,1);
CUL_HM_UpdtReadSingle($hash,"controlMode","set_".$mode,1);
my $msg = '8'.($mCmd{$mode}).$chn;
$msg .= sprintf("%02X",$temp) if ($temp);
$msg .= $party if ($party);