mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 20:24:36 +00:00
37_harmony.pm: restart discovery if additional device gets defined
git-svn-id: https://svn.fhem.de/fhem/trunk@18019 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
360f486e9c
commit
0faaa50271
@ -60,6 +60,10 @@ harmony_Initialize($)
|
|||||||
sub
|
sub
|
||||||
harmony_startDiscovery()
|
harmony_startDiscovery()
|
||||||
{
|
{
|
||||||
|
if( defined($modules{harmony}{defptr}{'harmony:discovery'}) ) {
|
||||||
|
fhem( "set harmony:discovery discover" );
|
||||||
|
}
|
||||||
|
|
||||||
return if( $modules{harmony}{defptr}{'harmony:discovery'} );
|
return if( $modules{harmony}{defptr}{'harmony:discovery'} );
|
||||||
Log3 undef, 3, "harmony: starting discovery" ;
|
Log3 undef, 3, "harmony: starting discovery" ;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user