From 67b664cdf066d44b8211f85ac36c265bad0c1358 Mon Sep 17 00:00:00 2001
From: ulimaass <>
Date: Tue, 24 Dec 2013 13:41:53 +0000
Subject: [PATCH] Style4 (S300TH specific) now keeps its formatting even with
longpoll
git-svn-id: https://svn.fhem.de/fhem/trunk@4454 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/95_FLOORPLAN.pm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
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 "