statistics: bugfix _count:

git-svn-id: https://svn.fhem.de/fhem/trunk@16281 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tupol
2018-02-26 18:40:38 +00:00
parent c93123e28b
commit c045220dd4

View File

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