Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[samsungtv] Add artOrientatation channel #17368

Merged
merged 4 commits into from
Sep 26, 2024

Conversation

NickWaterton
Copy link
Contributor

@NickWaterton NickWaterton commented Sep 4, 2024

Added new channel artOrientation for Frame TV's to report TV orientation (Landscape/Portrait), and allow triggering of the auto-rotation mount.

Added ability to disable Smartthings subscriptions, which enables polling of the Smartthings channels, for faster updating.

Signed-off-by: Nick Waterton [email protected]

org.openhab.binding.samsungtv-4.3.0-SNAPSHOT.jar
org.openhab.binding.samsungtv-4.3.0-SNAPSHOT.kar

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/samsung-tv-binding-beta/130551/1

@jlaur
Copy link
Contributor

jlaur commented Sep 4, 2024

@NickWaterton - thanks for the fix and enhancement. I'm wondering if we should backport the fix for NullPointerException to 4.2.x? If you agree, perhaps you could extract this part to a separate PR for being merged in a separate commit that we can then cherry-pick. This will also result in cleaner release notes with one bugfix and one enhancement.

@jlaur jlaur added the enhancement An enhancement or new feature for an existing add-on label Sep 4, 2024
@NickWaterton
Copy link
Contributor Author

@NickWaterton - thanks for the fix and enhancement. I'm wondering if we should backport the fix for NullPointerException to 4.2.x? If you agree, perhaps you could extract this part to a separate PR for being merged in a separate commit that we can then cherry-pick. This will also result in cleaner release notes with one bugfix and one enhancement.

I'm not sure that it's worth all the extra work. It's a very specific set of circumstances that caused the NPE, and it's a rare combination.

I'm not even sure I know how to go about doing this.

Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these improvements, left some comments to look at.

Signed-off-by: Nick Waterton <[email protected]>
Signed-off-by: Nick Waterton <[email protected]>
@lsiepel lsiepel added awaiting other PR Depends on another PR and removed awaiting other PR Depends on another PR labels Sep 21, 2024
@lsiepel
Copy link
Contributor

lsiepel commented Sep 26, 2024

@NickWaterton could you update your branch to current main? I would have expected either some conflicts or some lines not to be included as they are aready added by the other patch.

@lsiepel lsiepel changed the title [samsungtv] Fix channel number parsing, adds artOrientatation Channel [samsungtv] Add artOrientatation channel Sep 26, 2024
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@lsiepel lsiepel merged commit 8332ab2 into openhab:main Sep 26, 2024
5 checks passed
@lsiepel lsiepel added this to the 4.3 milestone Sep 26, 2024
@NickWaterton NickWaterton deleted the samsungtv_fixes branch October 8, 2024 16:45
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
* [samsungtv] add artOrientation channel

Signed-off-by: Nick Waterton <[email protected]>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
* [samsungtv] add artOrientation channel

Signed-off-by: Nick Waterton <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants