diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm
index 46922c325..f6475e7ce 100755
--- a/fhem/FHEM/01_FHEMWEB.pm
+++ b/fhem/FHEM/01_FHEMWEB.pm
@@ -1066,17 +1066,20 @@ FW_showRoom()
}
$row++;
- if($modules{$type}{FW_summaryFn}) {
- FW_pO "
";
+ my ($allSets, $cmdlist, $txt) = FW_devState($d, $rf);
+
+ my $sfn = $modules{$type}{FW_summaryFn};
+ if($sfn) {
no strict "refs";
- FW_pO &{$modules{$type}{FW_summaryFn}}($FW_wname,$d,$FW_room,\%extPage);
+ $txt = &{$sfn}($FW_wname, $d, $FW_room, \%extPage);
use strict "refs";
- FW_pO " | ";
- next;
+ FW_pO "$txt | ";
+
+ } else {
+ FW_pO "$txt | ";
+
}
- my ($allSets, $cmdlist, $txt) = FW_devState($d, $rf);
- FW_pO "$txt | ";
######
# Commands, slider, dropdown
@@ -1114,7 +1117,8 @@ FW_showRoom()
lc(AttrVal($b, "sortby", AttrVal($b,"alias",$b))) }
@atEnds) {
no strict "refs";
- FW_pO &{$modules{$defs{$d}{TYPE}}{FW_summaryFn}}($FW_chash, $d, $FW_room, \%extPage);
+ FW_pO &{$modules{$defs{$d}{TYPE}}{FW_summaryFn}}($FW_chash, $d,
+ $FW_room, \%extPage);
use strict "refs";
}
FW_pO "";