mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-15 04:20:56 +00:00
bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@5800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
01f6ec091b
commit
3b1b48575c
@ -300,7 +300,7 @@ statistics_DoStatistics($$$)
|
||||
if ($statisticDone ==1) { $monReadingName = "monitoredDevices".$devType; }
|
||||
else {$monReadingName = "monitoredDevicesUnsupported"; $devName .= "($devType)"}
|
||||
my $monReadingValue = ReadingsVal($hashName,$monReadingName,"");
|
||||
if ($monReadingValue !~ /regExp/) {
|
||||
if ($monReadingValue !~ /$regExp/) {
|
||||
if($monReadingValue eq "") { $monReadingValue = $devName;}
|
||||
else {$monReadingValue .= ",".$devName;}
|
||||
readingsBulkUpdate($hash,$monReadingName,$monReadingValue,1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user