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

10_CUL_HM:minor bugfix with regLst

git-svn-id: https://svn.fhem.de/fhem/trunk@16022 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2018-01-28 15:25:32 +00:00
parent 5398f96d68
commit 28a80e34b8

View File

@ -278,7 +278,7 @@ sub CUL_HM_updateConfig($){
my $md = CUL_HM_Get($hash,$name,"param","model");
my $dHash = CUL_HM_getDeviceHash($hash);
$dHash->{helper}{role}{prs} = 1 if($hash->{helper}{regLst} =~ m/3p/);
$dHash->{helper}{role}{prs} = 1 if($hash->{helper}{regLst} && $hash->{helper}{regLst} =~ m/3p/);
foreach my $rName ("D-firmware","D-serialNr",".D-devInfo",".D-stc"){
# move certain attributes to readings for future handling