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

[espmilight] Add color channels ability to trigger white LEDs #11047

Merged
merged 2 commits into from
Jul 25, 2021

Conversation

Skinah
Copy link
Contributor

@Skinah Skinah commented Jul 22, 2021

Before these changes with RGB and dual white globes you could not use the color gradients from a color element to switch back to using white LEDs. This change allows a user threshold to be specified where low SATURATION values will change to using the real white LEDs instead of a pastel colour. This is a big improvement as the openHAB colour indicator would show white when the globe was not white.

PR also contains minor refactoring to fix some compiler warnings.

Signed-off-by: Matthew Skinner matt@pcmus.com

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
@Skinah Skinah added the enhancement An enhancement or new feature for an existing add-on label Jul 22, 2021
Copy link
Member

@fwolter fwolter left a comment

Choose a reason for hiding this comment

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

LGTM

@fwolter fwolter merged commit 24c1691 into openhab:main Jul 25, 2021
@fwolter fwolter added this to the 3.2 milestone Jul 25, 2021
@Skinah Skinah deleted the milight branch August 8, 2021 02:55
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this pull request Oct 26, 2021
…b#11047)

* Add white shortcut for sat threshold


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Fix compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
…b#11047)

* Add white shortcut for sat threshold


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Fix compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
dschoepel pushed a commit to dschoepel/openhab-addons that referenced this pull request Nov 9, 2021
…b#11047)

* Add white shortcut for sat threshold

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Fix compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
…b#11047)

* Add white shortcut for sat threshold


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Fix compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
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.

None yet

2 participants