diff --git a/fhem/FHEM/95_FLOORPLAN.pm b/fhem/FHEM/95_FLOORPLAN.pm index 68276d7b2..28ccbf1c5 100644 --- a/fhem/FHEM/95_FLOORPLAN.pm +++ b/fhem/FHEM/95_FLOORPLAN.pm @@ -38,6 +38,7 @@ # 0027: Added FP_detailFn(), added delete-button in arrange-menu, fixed link for pdf-docu, minor code cleanup, added get config (July 08, 2013) # 0028: Implemented informid for longpoll, usage of @FW_fhemwebjs (July 19, 2013) # 0029: Fixed floorplan-specific icons and eliminated FHT-text "desired-temp" - both due to changes in fhemweb (Sep 29, 2013) +# 0030: Style4 (S300TH) now works with longpoll without loosing its formatting (Dec 24, 2013) # ################################################################ # @@ -474,7 +475,7 @@ FP_show(){ $devName = ($text ? $text : AttrVal($d, "alias", $d)); } if ($style == 4 && $txt =~ /T: ([\-0-9\.]+)[ ]+H: ([\-0-9\.]+).*/) { # S300TH-specific - $txt = "".$1."°C
".$2."%"; + $txt = "".$1."°C
".$2."%"; } FW_pO ""; FW_pO "$devName" ; @@ -507,7 +508,9 @@ FP_show(){ } if ($style == 3 || $style == 6) { FW_pO "
$txt
"; # reading - } else { + } elsif ($style == 4) { + FW_pO "$txt"; # state style4 + } else { FW_pO "$txt"; # state } FW_pO "";