diff --git a/fhem/FHEM/98_DOIF.pm b/fhem/FHEM/98_DOIF.pm index 257809cfe..f1707cac9 100644 --- a/fhem/FHEM/98_DOIF.pm +++ b/fhem/FHEM/98_DOIF.pm @@ -1124,7 +1124,7 @@ DOIF_SetSleepTimer($$$$$$) } } if ($sleeptime) { - my ($seconds, $microseconds) = gettimeofday(); + my $seconds = gettimeofday(); my $next_time = $seconds+$sleeptime; $hash->{helper}{sleeptimer}=$nr; $hash->{helper}{sleepsubtimer}=$subnr; @@ -1619,7 +1619,7 @@ Anstatt einer Zifferkombination kann ein Status oder Reading in eckigen Klammern define dummy Wochentag
set Wochentag 135

-define di_radio DOIF ([06:30|[Wochentag]] (set radio on) DOELSEIF ([07:30|[Wochentag]]) (set radio off)

+define di_radio DOIF ([06:30|[Wochentag]]) (set radio on) DOELSEIF ([07:30|[Wochentag]]) (set radio off)

Zeitsteuerung mit Zeitintervallen