fhem.pl: AssignIoPort checks the IODev Attribute
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1586,6 +1586,9 @@ AssignIoPort($;$)
|
||||
$modules{$ht}{AttrList} &&
|
||||
$modules{$ht}{AttrList} =~ m/IODev/);
|
||||
|
||||
$proposed = $attr{$hn}{IODev}
|
||||
if(!$proposed && $attr{$hn} && $attr{$hn}{IODev});
|
||||
|
||||
if($proposed && $defs{$proposed}) {
|
||||
$hash->{IODev} = $defs{$proposed};
|
||||
$attr{$hn}{IODev} = $proposed if($hasIODevAttr);
|
||||
|
||||
Reference in New Issue
Block a user