From cac09cd51ea036597d6d4a5ecaebb21ef6a02ebf Mon Sep 17 00:00:00 2001 From: tupol <> Date: Mon, 26 Feb 2018 18:40:38 +0000 Subject: [PATCH] statistics: bugfix _count: git-svn-id: https://svn.fhem.de/fhem/trunk@16281 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_statistics.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/98_statistics.pm b/fhem/FHEM/98_statistics.pm index d33b5b6cb..c5c391b59 100644 --- a/fhem/FHEM/98_statistics.pm +++ b/fhem/FHEM/98_statistics.pm @@ -1040,7 +1040,7 @@ sub statistics_doStatisticDurationSingle ($$$$$$) } else { my $newValue = 0; - $newValue = "00:00:00" if $statKey !~ /_Count:$/; + $newValue = "00:00:00" if $statKey !~ /_Count$/; $newValue = $hidden{$statKey} if defined $hidden{$statKey}; # statistics_storeSingularReadings # $hashName,$singularReadings,$dev,$statReadingName,$readingName,$statType,$period,$statValue,$lastValue,$saveLast