mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 17:36:01 +00:00
98_autocreate.pm: fix warning for ignoretypes/featurelevel>5.8
git-svn-id: https://svn.fhem.de/fhem/trunk@17684 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ac01979220
commit
2069e8322a
@ -131,7 +131,7 @@ autocreate_Notify($$)
|
||||
my ($name, $type, $arg) = ($1, $2, $3);
|
||||
next if(AttrVal($me, "disable", undef));
|
||||
|
||||
my $it = AttrVal($me, "ignoreTypes", undef);
|
||||
my $it = AttrVal($me, "ignoreTypes", "");
|
||||
$it = "^$it\$" if($featurelevel > 5.8); # Forum #80775
|
||||
|
||||
next if($it && $name =~ m/$it/i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user