2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

improve vccu AssignIO

git-svn-id: https://svn.fhem.de/fhem/trunk@6288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-07-20 18:08:24 +00:00
parent 2d46276b8b
commit d0967f46f0

View File

@ -6632,7 +6632,7 @@ sub CUL_HM_assignIO($){ #check and assign IO
my ($ioCCU,$prefIO) = ($hash->{helper}{io}{vccu},$hash->{helper}{io}{prefIO});
if ( defined $defs{$ioCCU} && AttrVal($ioCCU,"model","") eq "CCU-FHEM"
&& @{$defs{$ioCCU}{helper}{io}{ioList}}){
&& ref($defs{$ioCCU}{helper}{io}{ioList}) eq 'ARRAY'){
my @ioccu = @{$defs{$ioCCU}{helper}{io}{ioList}};
my @ios = ((sort {$hash->{helper}{mRssi}{io}{$b} <=>
$hash->{helper}{mRssi}{io}{$a} }