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

[epsonprojector] Add retrieval of source list #18006

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

mlobstein
Copy link
Contributor

Newer Epson projectors have a command (SOURCELIST?) that retrieves a list of available input sources (code and description) for the device. This PR adds the ability to retrieve the source list and if retrieval is successful the source list is loaded as the state options for the source channel. If the retrieval of the source list is unsuccessful or the loadSourceList configuration option is set to false, the predefined list of source options will be used instead. Three additional options were also added to the predefined list.

Signed-off-by: Michael Lobstein <[email protected]>
@mlobstein mlobstein added the enhancement An enhancement or new feature for an existing add-on label Dec 30, 2024
Signed-off-by: Michael Lobstein <[email protected]>
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 0538227 into openhab:main Dec 31, 2024
3 checks passed
@lsiepel lsiepel added this to the 5.0 milestone Dec 31, 2024
@mlobstein mlobstein deleted the epson_sources branch December 31, 2024 19:30
DrRSatzteil pushed a commit to DrRSatzteil/openhab-addons that referenced this pull request Jan 3, 2025
* Add retrieval of source list

Signed-off-by: Michael Lobstein <[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.

2 participants