2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-27 10:37:13 +00:00

git-svn-id: https://svn.fhem.de/fhem/trunk@5787 2b470e98-0d58-463d-a4d8-8e2adae1ed80

This commit is contained in:
tpoitzsch 2014-05-08 18:02:14 +00:00
parent 8657e0a8ee
commit 6f6e111b76

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 {