2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

32_TechemWZ.pm: fix for event-on fix

git-svn-id: https://svn.fhem.de/fhem/trunk@10662 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
herrmannj 2016-01-30 10:22:50 +00:00
parent 24de0ff609
commit 5ef175bef5

View File

@ -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} };