mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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:
parent
57a9a06909
commit
85a4272d8d
@ -3208,7 +3208,7 @@ sub CUL_HM_Set($@) {
|
|||||||
CUL_HM_PushCmdStack($hash,'++'.$flag.'11'.$id.$dst.$msg);
|
CUL_HM_PushCmdStack($hash,'++'.$flag.'11'.$id.$dst.$msg);
|
||||||
}
|
}
|
||||||
elsif($cmd eq "desired-temp") { #############################################
|
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);
|
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);
|
return "invalid temp:$a[2]" if($temp <9 ||$temp > 61);
|
||||||
$temp = sprintf ("%02X",$temp);
|
$temp = sprintf ("%02X",$temp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user