2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

10_CUL_HM: aesKey form vccu

git-svn-id: https://svn.fhem.de/fhem/trunk@8720 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-06-09 18:26:11 +00:00
parent 4e64af641d
commit 10498d9ba3

View File

@ -275,7 +275,9 @@ sub CUL_HM_updateConfig($){
}
}
elsif ($md =~ m/(CCU-FHEM)/){
HMLAN_writeAesKey($_) foreach (split ",",AttrVal($name,"IOList",""));
if(eval "defined(&HMLAN_writeAesKey)"){
HMLAN_writeAesKey($_) foreach (split ",",AttrVal($name,"IOList",""));
}
}
elsif ($st eq "dimmer" ) {#setup virtual dimmer channels
my $mId = CUL_HM_getMId($hash);
@ -837,7 +839,9 @@ sub CUL_HM_Attr(@) {#################################
delete $attr{$name}{$attrName};
}
if ($init_done){
HMLAN_writeAesKey($_) foreach (split ",",AttrVal($name,"IOList",""));
if(eval "defined(&HMLAN_writeAesKey)"){
HMLAN_writeAesKey($_) foreach (split ",",AttrVal($name,"IOList",""));
}
}
return $retVal;
}