2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

55_weco.pm - added $Id and fixed attr bug

git-svn-id: https://svn.fhem.de/fhem/trunk@5514 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2014-04-12 21:02:43 +00:00
parent 77d817fc1f
commit 05f0cc1aa2

View File

@ -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)) {