From fc74bd6a234cee637a009c83226e7cc2c29e508a Mon Sep 17 00:00:00 2001 From: ulimaass <> Date: Mon, 12 Mar 2012 14:24:30 +0000 Subject: [PATCH] updated selection of add-device-list: suppress CUL$ only (instead of CUL.*) git-svn-id: https://svn.fhem.de/fhem/trunk@1334 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/95_FLOORPLAN/95_FLOORPLAN.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/95_FLOORPLAN/95_FLOORPLAN.pm b/fhem/contrib/95_FLOORPLAN/95_FLOORPLAN.pm index bd3e694b6..5ed4fb623 100644 --- a/fhem/contrib/95_FLOORPLAN/95_FLOORPLAN.pm +++ b/fhem/contrib/95_FLOORPLAN/95_FLOORPLAN.pm @@ -13,6 +13,7 @@ # 0006: kicked out various routines previously copied from FHEMWEB - now using FW_*-versions thanks to addtl. global variables $FW_RET, $FW_wname, $FW_subdir, %FW_pos # 0007: Added fp_default # 0008: Changed name of background-picture from to fp_ to avoid display of picture in device-list at fhem-menu 'Everything' +# 0009: updated selection of add-device-list: suppress CUL$ only (instead of CUL.*) # ################################################################ # @@ -480,7 +481,7 @@ FP_menuArrange() { foreach my $d (@devs) { # loop all devices my $type = $defs{$d}{TYPE}; # exclude these types from list of available devices - next if($type =~ m/(WEB|CUL.*|FHEM.*|FileLog|PachLog|PID|SUNRISE.*|FLOORPLAN|holiday|Global|notify)/ ); + next if($type =~ m/(WEB|CUL$|FHEM.*|FileLog|PachLog|PID|SUNRISE.*|FLOORPLAN|holiday|Global|notify)/ ); my $av = AttrVal("$d","fp_$FP_name", undef); push(@fpl, $d) if ($av); push(@nfpl, $d) if (!$av);