diff --git a/fhem/FHEM/95_FLOORPLAN.pm b/fhem/FHEM/95_FLOORPLAN.pm index 5fdde7711..ea6b40be2 100644 --- a/fhem/FHEM/95_FLOORPLAN.pm +++ b/fhem/FHEM/95_FLOORPLAN.pm @@ -502,14 +502,18 @@ FP_show(){ $fp_fpimage =~ s/\{state\}/$state/; # replace {state} by actual device-status $txt =~ s/\$txt"; + if ($style == 3 || $style == 6) { + FW_pO "
$txt
"; # reading + } else { + FW_pO "$txt"; # state + } FW_pO ""; - if ($style == 6) { # add ReadingsTimeStamp for style 6 + if ($style == 6) { # add ReadingsTimeStamp for style 6 $txt=""; - FW_pO ""; # For css: class=devicetimestamp, id=-devicetimestamp - $txt = ReadingsTimestamp($d, $text, "Undefined Reading $d-$text") if ($style == 3 || $style == 6); # Style3+6 = DeviceReading given in $text - FW_pO "$txt"; + FW_pO ""; # For css: class=devicetimestamp, id=-devicetimestamp + $txt = ReadingsTimestamp($d, $text, "Undefined Reading $d-$text"); # Style3+6 = DeviceReading given in $text + FW_pO "
$txt
"; FW_pO ""; }