From 74b60d3bebf838adf19ecbbffe5a036d3d289780 Mon Sep 17 00:00:00 2001 From: justme1968 Date: Tue, 28 Oct 2014 15:05:06 +0000 Subject: [PATCH] 37_harmony.pm: workaround to geht webCmd activity working git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6828 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/37_harmony.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fhem/FHEM/37_harmony.pm b/fhem/FHEM/37_harmony.pm index a82eeff33..9f95a352f 100644 --- a/fhem/FHEM/37_harmony.pm +++ b/fhem/FHEM/37_harmony.pm @@ -732,6 +732,9 @@ harmony_updateActivity($$;$) my $activity = harmony_labelOfActivity($hash,$id,$id); readingsSingleUpdate( $hash, "currentActivity", "$modifier$activity", 1 ); + $activity =~ s/ /./g; + readingsSingleUpdate( $hash, "activity", $activity, 1 ) if( !$modifier ); + delete $hash->{hidDevice} if( $id == -1 ); }