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
This commit is contained in:
justme1968
2014-10-28 15:05:06 +00:00
parent e0ab57a8b3
commit 74b60d3beb

View File

@@ -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 );
}