From 5ef175bef5e06439a6de2c1ed9a8a9d048b225a2 Mon Sep 17 00:00:00 2001 From: herrmannj <> Date: Sat, 30 Jan 2016 10:22:50 +0000 Subject: [PATCH] 32_TechemWZ.pm: fix for event-on fix git-svn-id: https://svn.fhem.de/fhem/trunk@10662 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/32_TechemWZ.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/32_TechemWZ.pm b/fhem/FHEM/32_TechemWZ.pm index aac3e0257..08c3be687 100644 --- a/fhem/FHEM/32_TechemWZ.pm +++ b/fhem/FHEM/32_TechemWZ.pm @@ -162,6 +162,7 @@ TechemWZ_Receive(@) { $ats = ReadingsTimestamp($hash->{NAME},"previous_period", "0"); $ts = sprintf ("20%02d-%02d-%02d 00:00:00", $msg->{last}->{year}, $msg->{last}->{month}, $msg->{last}->{day}); if ($ats ne $ts) { + my $i; readingsBeginUpdate($hash); $hash->{".updateTimestamp"} = $ts; $i = $#{ $hash->{CHANGED} };