use SetExtensions
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2605 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -23,7 +23,7 @@ SetExtensions($$@)
|
||||
);
|
||||
|
||||
my $hasOn = ($list =~ m/\bon\b/);
|
||||
my $hasOff = ($list =~ m/\bon\b/);
|
||||
my $hasOff = ($list =~ m/\boff\b/);
|
||||
if(!$hasOn || !$hasOff) {
|
||||
my $em = AttrVal($name, "eventMap", undef);
|
||||
if($em) {
|
||||
|
||||
Reference in New Issue
Block a user