2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

57_CALVIEW: fixed internal timer error

git-svn-id: https://svn.fhem.de/fhem/trunk@12054 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
chris1284 2016-08-22 17:14:30 +00:00
parent 5a48c90d5b
commit ba4acddf45

View File

@ -77,6 +77,7 @@ sub CALVIEW_GetUpdate($){
#cleanup readings
delete ($hash->{READINGS});
# new timer
RemoveInternalTimer($hash);
InternalTimer(gettimeofday()+$hash->{INTERVAL}, "CALVIEW_GetUpdate", $hash, 1);
readingsBeginUpdate($hash); #start update
my @termine = getsummery($hash);
@ -257,6 +258,8 @@ sub CALVIEW_Notify($$)
1;
=pod
=item device
=item summary provides calendar events in a readable form
=begin html
<a name="CALVIEW"></a>