-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[mqtt.homeassistant] Support color temp on JSON schema lights #14839
[mqtt.homeassistant] Support color temp on JSON schema lights #14839
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!
...src/main/java/org/openhab/binding/mqtt/homeassistant/internal/component/JSONSchemaLight.java
Show resolved
Hide resolved
.../src/main/java/org/openhab/binding/mqtt/homeassistant/internal/component/LightColorMode.java
Outdated
Show resolved
Hide resolved
also adds a color_mode channel if color temp is possible, so you can know how the bulb is behaving Signed-off-by: Cody Cutrer <[email protected]>
Signed-off-by: Cody Cutrer <[email protected]>
39380cc
to
134681a
Compare
Force pushed to rebase so tests would pass with changes to HSBType's handling of conversions. New changes were added as a separate commit. |
LGTM, thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
Due to openhab#15427 and openhab#14839 being developed independently, but merged to main successively Signed-off-by: Cody Cutrer <[email protected]>
Due to #15427 and #14839 being developed independently, but merged to main successively Signed-off-by: Cody Cutrer <[email protected]>
…b#14839) * [mqtt.homeassistant] support color temp on JSON schema lights also adds a color_mode channel if color temp is possible, so you can know how the bulb is behaving * put color mode channel construction into buildChannels() --------- Signed-off-by: Cody Cutrer <[email protected]>
Due to openhab#15427 and openhab#14839 being developed independently, but merged to main successively Signed-off-by: Cody Cutrer <[email protected]>
…b#14839) * [mqtt.homeassistant] support color temp on JSON schema lights also adds a color_mode channel if color temp is possible, so you can know how the bulb is behaving * put color mode channel construction into buildChannels() --------- Signed-off-by: Cody Cutrer <[email protected]> Signed-off-by: Jørgen Austvik <[email protected]>
Due to openhab#15427 and openhab#14839 being developed independently, but merged to main successively Signed-off-by: Cody Cutrer <[email protected]> Signed-off-by: Jørgen Austvik <[email protected]>
also adds a color_mode channel if color temp is possible, so you can know how the bulb is behaving