30_DUOFERN: fix thermostat, change cmd trigger

git-svn-id: https://svn.fhem.de/fhem/trunk@15664 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Telekatz
2017-12-21 18:30:13 +00:00
parent 7cdf798089
commit 216a987758

View File

@@ -414,7 +414,7 @@ my %setsThermostat = (
"temperatureThreshold2:$tempSetList" => "",
"temperatureThreshold3:$tempSetList" => "",
"temperatureThreshold4:$tempSetList" => "",
"actTempLimit:0,1,2,3" => "",
"actTempLimit:1,2,3,4" => "",
"desired-temp:$tempSetList" => "",
);
@@ -779,8 +779,14 @@ DUOFERN_Set($@)
if ($hash->{device}) {
$hash = $defs{$hash->{device}};
}
return undef;
my $ret = "set_".$cmd;
$ret = $ret." ".$arg if($arg);
$ret = $ret." ".$arg2 if($arg2);
DoTrigger($name, $ret);
return ("",1);
}
return SetExtensions($hash, $list, @b);