mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@5745 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
77d1c58bac
commit
73dc8dc523
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user