mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
37_harmony.pm: don't try fake origin query if hub is disabled
git-svn-id: https://svn.fhem.de/fhem/trunk@18120 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aeb9572f32
commit
20c35b7a04
@ -114,7 +114,9 @@ harmony_sendDiscovery()
|
||||
}
|
||||
|
||||
foreach my $chash ( values %{$modules{'harmony'}{defptr}} ) {
|
||||
next if( $chash->{NAME} eq 'harmony:discovery' );
|
||||
my $cname = $chash->{NAME};;
|
||||
next if( $cname eq 'harmony:discovery' );
|
||||
next if( IsDisabled($cname) );
|
||||
next if( $chash->{ConnectionState} eq 'Connected' );
|
||||
next if( !defined($chash->{ip}) );
|
||||
next if( $chash->{remoteId} );
|
||||
|
Loading…
x
Reference in New Issue
Block a user