37_harmony.pm: cleanup cannelAfterStart

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10918 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2016-02-22 12:44:33 +00:00
parent ad58eca071
commit 73b16f37b4

View File

@@ -841,6 +841,7 @@ harmony_updateActivity($$;$)
readingsSingleUpdate( $hash, "activity", $activity, 1 ); readingsSingleUpdate( $hash, "activity", $activity, 1 );
harmony_sendEngineGet($hash, "changeChannel", "channel=$hash->{channelAfterStart}:timestamp=0") if( $hash->{channelAfterStart} ); harmony_sendEngineGet($hash, "changeChannel", "channel=$hash->{channelAfterStart}:timestamp=0") if( $hash->{channelAfterStart} );
delete $hash->{channelAfterStart};
} }
delete $hash->{hidDevice} if( $id == -1 ); delete $hash->{hidDevice} if( $id == -1 );