-
-
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] Implement JSON schema lights #13808
Conversation
da9e023
to
6b96213
Compare
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.
Thanks for continuing to work on this addon!
...src/main/java/org/openhab/binding/mqtt/homeassistant/internal/component/JSONSchemaLight.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/mqtt/homeassistant/internal/component/JSONSchemaLight.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/mqtt/homeassistant/internal/component/JSONSchemaLight.java
Outdated
Show resolved
Hide resolved
...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/JSONSchemaLight.java
Show resolved
Hide resolved
Thanks for the comments. Sorry it has taken me so long to get back to them; I've been focusing on other addons and core for the 3.4.0 release, considering this PR a lower priority. I hope to address them in the next week or two. |
6b96213
to
8c1d4d1
Compare
Force push is just a rebase that resolves a trivial merge conflict (another PR also added a method a (different) new method to the bottom of AbstractComponent). I'll add additional commits addressing the comments soon. I totally forgot this PR was still hanging out. |
Signed-off-by: Cody Cutrer <cody@cutrer.us>
8c1d4d1
to
147b7e9
Compare
Signed-off-by: Cody Cutrer <cody@cutrer.us>
@antroids : all comments addressed |
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
… bare Signed-off-by: Cody Cutrer <cody@cutrer.us>
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!
Signed-off-by: Cody Cutrer <cody@cutrer.us>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/how-to-debug-a-homeassistant-channel-discovery-failure/144755/1 |
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
@ccutrer - I think this PR may have introduced some test failures, can you check? See for example https://ci.openhab.org/job/PR-openHAB-Addons/14886/
|
Yup. I'll try to take a look later today. |
Okay. I have time to look this morning. The problem is this PR and #12238 weren't tested together, and the latter changed some assumptions this one depended on. I'm fixing now. |
* [mqtt.homeassistant] implement JSON schema lights * [mqtt.homeassistant] use enum for current state of color mode * [mqtt.homeassistant] use implicit lambdas * [mqtt.homeassistant] remove string constants in favor of an enum * [mqtt.homeassistant] allow sending ON and brightness commands through bare * [mqtt.homeassistant] turn down debug logging --------- Signed-off-by: Cody Cutrer <cody@cutrer.us>
No description provided.