From e283125ff58516c0fff84274d041148bc5a748ad Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Tue, 4 Nov 2014 11:48:38 +0000 Subject: [PATCH] 37_harmony.pm: ignore global autocreate settings for manual autocreate git-svn-id: https://svn.fhem.de/fhem/trunk@6881 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/37_harmony.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/37_harmony.pm b/fhem/FHEM/37_harmony.pm index 9896e44df..da089aed5 100644 --- a/fhem/FHEM/37_harmony.pm +++ b/fhem/FHEM/37_harmony.pm @@ -1231,10 +1231,10 @@ harmony_autocreate($;$) $id = harmony_idOfDevice($hash, $id) if( $id && $id !~ m/^([\d-])+$/ ); return "unknown device $param" if( $param && !$id ); - foreach my $d (keys %defs) { - next if($defs{$d}{TYPE} ne "autocreate"); - return undef if(AttrVal($defs{$d}{NAME},"disable",undef)); - } + #foreach my $d (keys %defs) { + # next if($defs{$d}{TYPE} ne "autocreate"); + # return undef if(AttrVal($defs{$d}{NAME},"disable",undef)); + #} my $autocreated = 0; foreach my $device (@{$hash->{config}->{device}}) {