git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5787 2b470e98-0d58-463d-a4d8-8e2adae1ed80

This commit is contained in:
tpoitzsch
2014-05-08 18:02:14 +00:00
parent 500449e41f
commit fe1781f2c7

View File

@@ -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 {