From 1b35a3485a762a67a7a7c99390ebc166d24d48be Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Tue, 25 Dec 2018 12:04:36 +0000 Subject: [PATCH] 37_harmony.pm: keep remoteId if user/pass is given git-svn-id: https://svn.fhem.de/fhem/trunk@18053 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/37_harmony.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/37_harmony.pm b/fhem/FHEM/37_harmony.pm index 5e6d75924..abcd2d275 100644 --- a/fhem/FHEM/37_harmony.pm +++ b/fhem/FHEM/37_harmony.pm @@ -184,6 +184,7 @@ harmony_Define($$) my $password = harmony_encrypt($a[3]); $hash->{DEF} = "$username $password $ip"; + $hash->{DEF} .= " remoteId=$param_h->{remoteId}" if( $param_h->{remoteId} ); $hash->{helper}{username} = $username; $hash->{helper}{password} = $password; @@ -194,7 +195,6 @@ harmony_Define($$) $hash->{NAME} = $name; - #$hash->{remoteId} = '6779631'; $hash->{remoteId} = $param_h->{remoteId}; $hash->{STATE} = "Initialized";