mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 15:59:21 +00:00
make modify keep IODev
git-svn-id: https://svn.fhem.de/fhem/trunk@2568 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7e46fcb9b2
commit
72f0f2def0
@ -602,7 +602,7 @@ OWDevice_Define($$)
|
||||
return "Usage: define <name> OWDevice <address> [interval]" if($#a < 2|| $#a > 3);
|
||||
my $name= $a[0];
|
||||
|
||||
AssignIoPort($hash);
|
||||
AssignIoPort($hash) if(!defined($hash->{IODev}->{NAME}));
|
||||
if(defined($hash->{IODev}->{NAME})) {
|
||||
Log 3, "$name: I/O device is " . $hash->{IODev}->{NAME};
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user