mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 23:09:26 +00:00
98_WekdayTimer.pm: fix log1 overwritten timer issue, forum #105873
git-svn-id: https://svn.fhem.de/fhem/trunk@20634 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
349edcb6a3
commit
261e221cf7
@ -893,8 +893,8 @@ sub WeekdayTimer_Update($) {
|
||||
$activeTimer = WeekdayTimer_isAnActiveTimer ($hash, $dieGanzeWoche, $newParam, $overrulewday);
|
||||
$activeTimerState = WeekdayTimer_isAnActiveTimer ($hash, $tage, $newParam, $overrulewday);
|
||||
Log3 $hash, 4, "[$name] Update - past timer activated";
|
||||
WeekdayTimer_InternalTimer ("$idx", $timToSwitch, "$hash->{TYPE}_Update", $hash, 0) if $timToSwitch > $now;
|
||||
#WeekdayTimer_SetTimerOfDay({ HASH => $hash});
|
||||
WeekdayTimer_RemoveInternalTimer("$idx", $hash);
|
||||
WeekdayTimer_InternalTimer ("$idx", $timToSwitch, "$hash->{TYPE}_Update", $hash, 0) if ($timToSwitch > $now && ($activeTimerState||$activeTimer));
|
||||
} else {
|
||||
$activeTimer = WeekdayTimer_isAnActiveTimer ($hash, $tage, $newParam, $overrulewday);
|
||||
$activeTimerState = $activeTimer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user