git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5745 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user