git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5745 2b470e98-0d58-463d-a4d8-8e2adae1ed80

This commit is contained in:
tpoitzsch 2014-05-04 19:43:53 +00:00
parent 507090325e
commit 0cdfdf79c5

View File

@ -228,8 +228,9 @@ statistics_doStatisticMinMax ($$$$$)
return if not exists ($dev->{READINGS}{$readingName}); return if not exists ($dev->{READINGS}{$readingName});
# Get reading, cut out first number without units
my $value = $dev->{READINGS}{$readingName}{VAL}; my $value = $dev->{READINGS}{$readingName}{VAL};
$value =~ s/^([\d.]*)/$1/eg; $value =~ s/^([\d.]*).*/$1/eg;
# statistics_doStatisticMinMaxSingle: $hash, $readingName, $value, $saveLast, decPlaces # statistics_doStatisticMinMaxSingle: $hash, $readingName, $value, $saveLast, decPlaces
# Daily Statistic # Daily Statistic