mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
98_HMInfo: correct x-Devicereplace
git-svn-id: https://svn.fhem.de/fhem/trunk@23022 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
03c537f98f
commit
e2455589ea
@ -2524,8 +2524,9 @@ sub HMinfo_deviceReplace($$$){
|
||||
|
||||
if ($defs{$newDev}{$i} && defined $defs{$defs{$newDev}{$i}}){
|
||||
$rnHash{new}{$i}=$defs{$newDev}{$i};
|
||||
return "new channel $i already has peers" if(defined $attr{$rnHash{$_}{new}}{peerIDs}
|
||||
&& $attr{$rnHash{$_}{new}}{peerIDs} ne "0000000");
|
||||
return "new channel $i:$rnHash{new}{$i} already has peers: $attr{$rnHash{new}{$i}}{peerIDs}"
|
||||
if(defined $attr{$rnHash{new}{$i}}{peerIDs}
|
||||
&& $attr{$rnHash{new}{$i}}{peerIDs} ne "0000000");
|
||||
}
|
||||
else{
|
||||
return "channel list incompatible for $newDev: $i";
|
||||
|
Loading…
Reference in New Issue
Block a user