git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5787 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -283,9 +283,8 @@ statistics_DoStatistics($$$)
|
||||
|
||||
my $monReadingValue = ReadingsVal($hashName,"monitoredDevicesUnknownType","");
|
||||
if ($monReadingValue =~ /$temp/) {
|
||||
$monReadingValue =~ s/$devName//;
|
||||
$monReadingValue =~ s/,,/,/;
|
||||
$monReadingValue =~ s/^,//;
|
||||
$monReadingValue =~ s/$devName,?//;
|
||||
$monReadingValue =~ s/,$//;
|
||||
if ($monReadingValue ne "") {
|
||||
readingsBulkUpdate($hash,"monitoredDevicesUnknownType",$monReadingValue,1);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user