From ea49fd9c3ef67fe41f91257f76581c71bc53f8ab Mon Sep 17 00:00:00 2001 From: herrmannj Date: Thu, 14 Jan 2016 11:29:49 +0000 Subject: [PATCH] 32_TechemWZ.pm: timestamp at midnight for log git-svn-id: https://svn.fhem.de/fhem/trunk@10498 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/32_TechemWZ.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/32_TechemWZ.pm b/fhem/FHEM/32_TechemWZ.pm index 0320aa1dd..485002855 100644 --- a/fhem/FHEM/32_TechemWZ.pm +++ b/fhem/FHEM/32_TechemWZ.pm @@ -149,7 +149,7 @@ TechemWZ_Receive(@) { $hash->{".updateTimestamp"} = $ts; readingsBulkUpdate($hash, "meter", $msg->{meter}); readingsBulkUpdate($hash, "current_period", $msg->{actualVal}); - $hash->{CHANGETIME}[0] = $ts; + $hash->{CHANGETIME}->[0] = $ts; readingsEndUpdate($hash, 1); delete $hash->{CHANGETIME}; } @@ -161,7 +161,7 @@ TechemWZ_Receive(@) { readingsBeginUpdate($hash); $hash->{".updateTimestamp"} = $ts; readingsBulkUpdate($hash, "previous_period", $msg->{lastVal}); - $hash->{CHANGETIME}[0] = $ts; + $hash->{CHANGETIME}->[0] = $ts; readingsEndUpdate($hash, 1); delete $hash->{CHANGETIME}; } @@ -355,7 +355,7 @@ TechemWZ_ParseLastDate(@) { ############################################################################### # -# Vario 5 heatmeter +# Compact 5 heatmeter # ###############################################################################