2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 07:19:24 +00:00

now when using a Perlcommand it will always be executed, not only when old parameter isnt like the new Parameter.

git-svn-id: https://svn.fhem.de/fhem/trunk@4146 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dietmar63 2013-11-03 21:31:04 +00:00
parent 2ebbd11e5e
commit a810e48b17

View File

@ -441,7 +441,7 @@ sub Heating_Control_Device_Schalten($$$$) {
#Kommando ausführen
my $secondsSinceSwitch = $nowSwitch - $now;
if ($nowSwitch gt "" && $aktParam ne $newParam ) {
if (defined $hash->{helper}{COMMAND} || ($nowSwitch gt "" && $aktParam ne $newParam )) {
if (!SwitchInVergangenheit($hash) && $secondsSinceSwitch < -60) {
Log3 $hash, 5, $mod."no switch in the yesterdays because of the devices type.";
} else {