2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 23:09:26 +00:00

desired-temp TC-IT

git-svn-id: https://svn.fhem.de/fhem/trunk@4884 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-02-11 18:29:32 +00:00
parent 57a9a06909
commit 85a4272d8d

View File

@ -3208,7 +3208,7 @@ sub CUL_HM_Set($@) {
CUL_HM_PushCmdStack($hash,'++'.$flag.'11'.$id.$dst.$msg);
}
elsif($cmd eq "desired-temp") { #############################################
if ($md =~ m/HM-CC-RT-DN/){
if ($md =~ m/(HM-CC-RT-DN|HM-TC-IT-WM-W-EU)/){
my $temp = ($a[2] eq "off")?9:($a[2] eq "on"?61:$a[2]*2);
return "invalid temp:$a[2]" if($temp <9 ||$temp > 61);
$temp = sprintf ("%02X",$temp);