mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
HMInfo:typo correction in register definitions
git-svn-id: https://svn.fhem.de/fhem/trunk@22434 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6921d77606
commit
7bbee7c9d8
@ -208,8 +208,6 @@ sub HMinfo_Attr(@) {###########################################################
|
||||
}
|
||||
}
|
||||
elsif($attrName eq "autoLoadArchive"){
|
||||
if ($cmd eq "set"){
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
@ -230,8 +228,7 @@ sub HMinfo_Notify(@){##########################################################
|
||||
HMinfo_archConfig($hash,$name,"","") if(AttrVal($name,"autoArchive",undef));
|
||||
}
|
||||
if (grep /INITIALIZED/,@{$events}){
|
||||
HMinfo_SetFn($hash,$name,"loadConfig") if ( substr(AttrVal($name, "autoLoadArchive", 0),0,1) ne 0);
|
||||
|
||||
HMinfo_SetFn($hash,$name,"loadConfig") if ( substr(AttrVal($name, "autoLoadArchive", 0),0,1) ne 0);
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
@ -2059,6 +2056,9 @@ sub HMinfo_loadConfig($@) {####################################################
|
||||
@tmplList = ();
|
||||
}
|
||||
else {
|
||||
foreach my $read (keys %{$HMConfig::culHmUpdate{regValUpdt}}){# update wrong reg namings and options
|
||||
($line) = map{(my $foo = $_) =~ s/$read/$HMConfig::culHmUpdate{regValUpdt}{$read}/g; $foo;}($line);
|
||||
}
|
||||
push @tmplList,$line;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user