2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

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 04ba8c1497
commit cac09cd51e

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