IODev attribute added

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@315 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2009-01-09 17:31:44 +00:00
parent 569c0a4095
commit e7c64af6c8
17 changed files with 127 additions and 236 deletions

View File

@@ -27,7 +27,7 @@ CUL_WS_Initialize($)
$hash->{DefFn} = "CUL_WS_Define";
$hash->{UndefFn} = "CUL_WS_Undef";
$hash->{ParseFn} = "CUL_WS_Parse";
$hash->{AttrList} = "do_not_notify:0,1 showtime:0,1 model:S300TH,KS300 loglevel";
$hash->{AttrList} = "IODev do_not_notify:0,1 showtime:0,1 model:S300TH,KS300 loglevel";
}
@@ -85,6 +85,8 @@ CUL_WS_Parse($$)
Log 1, "CUL_WS UNDEFINED $type sensor detected, code $cde";
return "UNDEFINED CUL_WS: $cde";
}
my $def = $defptr{$cde};
return "" if($def->{IODev} && $def->{IODev}{NAME} ne $hash->{NAME});
$hash = $defptr{$cde};
my $name = $hash->{NAME};