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

minor bug

git-svn-id: https://svn.fhem.de/fhem/trunk@6470 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-08-27 09:09:40 +00:00
parent e8c57f202d
commit 6977e0ab51

View File

@ -225,7 +225,8 @@ sub CUL_HM_updateConfig($){
$attr{$name}{model} = "ActionDetector";
delete $hash->{helper}{role};
delete $attr{$name}{$_}
foreach ("autoReadReg","actCycle","actStatus","burstAccess","serialNr");
foreach ( "autoReadReg","actCycle","actStatus","burstAccess","serialNr"
,"IODev","IOList","IOgrp","hmProtocolEvents","rssiLog");
$hash->{helper}{role}{vrt} = 1;
next;
}
@ -3014,7 +3015,8 @@ sub CUL_HM_Get($@) {#+++++++++++++++++ get command+++++++++++++++++++++++++++++
foreach (@dl){
my(undef,$pref) = split":",$attr{$_}{IOgrp},2;
$pref = "---" if (!$pref);
push @rl, "$defs{$_}{IODev}->{NAME} / $pref $_ ";
my $IODev = $defs{$_}{IODev}->{NAME}?$defs{$_}{IODev}->{NAME}:"---";
push @rl, "$IODev / $pref $_ ";
}
return "devices using $name\ncurrent IO / preferred\n ".join "\n ", sort @rl;
}