2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

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

This commit is contained in:
tpoitzsch 2014-05-04 19:43:53 +00:00
parent 77d1c58bac
commit 73dc8dc523

View File

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