From 05f0cc1aa268f43395ea35d0c4346186ecc50e81 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sat, 12 Apr 2014 21:02:43 +0000 Subject: [PATCH] 55_weco.pm - added $Id and fixed attr bug git-svn-id: https://svn.fhem.de/fhem/trunk@5514 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/55_weco.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/55_weco.pm b/fhem/FHEM/55_weco.pm index 6a664fe4b..beed66043 100644 --- a/fhem/FHEM/55_weco.pm +++ b/fhem/FHEM/55_weco.pm @@ -1,4 +1,4 @@ -# $Id: $ +# $Id$ #################################################################################################### # # 55_weco.pm @@ -97,7 +97,8 @@ sub weco_send($) { my ($data, $d, $r, $o); my $a = $attr{$name}; while ( my ($key, $value) = each($a) ) { - next if substr($key,4,1) ~~ ["I"] ; + next if substr($key,0,4) ne 'weco'; + next if substr($key,4,1) ~~ ["I"]; $key = substr($key,4,length($key)-4); ($d, $r, $o) = split(":", $value); if(defined($r)) {