Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[harmonyhub] Fixes #2497 #2634

Closed
wants to merge 1 commit into from

Conversation

ppieczul
Copy link
Contributor

@ppieczul ppieczul commented Aug 30, 2017

Fixes issue #2497.
This issue currently forces me to add checks against current activity in habpanel and rules.

I extended the fix to not sending activity set command to the hub library if the current activity is already that activity. This is exactly how Harmony remote controller works - you can't press a button to start an activity if this is the current activity.

Additionally fixed what static code analyzer complained about: no EOF in about.html and redundant import.

Signed-off-by: Pawel Pieczul pieczul@gmail.com (github: ppieczul)

Additionally fixed what static code analyzer complained about: no EOF in about.html and redundant import.

Signed-off-by: Pawel Pieczul <pieczul@gmail.com> (github: ppieczul)
@mention-bot
Copy link

@ppieczul, thanks for your PR! By analyzing the history of the files in this pull request, we identified @digitaldan, @wborn and @kaikreuzer to be potential reviewers.

@ppieczul ppieczul changed the title Fixes #2497 [harmonyhub] Fixes #2497 Aug 30, 2017
@martinvw
Copy link
Member

@wborn can you review these changes?

@wborn
Copy link
Member

wborn commented Aug 31, 2017

Maybe it would be better to create a PR to fix this issue in the underlying harmony-java-client library?

This fix will be of use to non-openHAB library users and it would also close:

The net.whistlingfish.harmony.HarmonyClient is also keeping track of the currentActivity.

@ppieczul
Copy link
Contributor Author

ppieczul commented Aug 31, 2017 via email

@wborn
Copy link
Member

wborn commented Aug 31, 2017

I don't know if this is abandoned yet - do you have any contact with the author?

I've put in a few harmony-java-client PRs earlier this year and these were promptly merged. :-)

@ppieczul
Copy link
Contributor Author

ppieczul commented Sep 2, 2017

Ok, we'll go this way, I got in touch with the author after some initial silence. Thanks.

@ppieczul ppieczul closed this Sep 2, 2017
Flole998 pushed a commit to Flole998/openhab-addons that referenced this pull request Dec 30, 2021
* Bump netty to 4.1.72.Final for log4j2 2.15.0 fix

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Flole998 pushed a commit to Flole998/openhab-addons that referenced this pull request Dec 30, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants