-
-
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
[warmup] Initial contribution #8562
Conversation
Travis tests were successfulHey @jamesmelville, |
...rmup/src/main/java/org/openhab/binding/warmup/internal/handler/MyWarmupConfigurationDTO.java
Show resolved
Hide resolved
...g.warmup/src/main/java/org/openhab/binding/warmup/internal/handler/RoomConfigurationDTO.java
Show resolved
Hide resolved
...ab.binding.warmup/src/main/java/org/openhab/binding/warmup/internal/handler/RoomHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.warmup/src/main/resources/OH-INF/binding/binding.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.warmup/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
7163bf7
to
d82e29f
Compare
Hi @fwolter thank you for your review - I've updated everything as requested except for the one conversation which remains open above. Alongside that I think I've simplified the error handling logic and removed some code which was stopping polling if an internet connection became unavailable, sorry if this adds to your work reviewing but I thought it was preferable. CI build hasn't completed but I'll keep an eye out for any issues raised. Also not sure how I added wborn as a code owner 🤷. |
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.
The file bundles/org.openhab.automation.groovyscripting/userdata/persist.mqtt
shouldn't be part of your PR.
What open point do you refer to?
...binding.warmup/src/main/java/org/openhab/binding/warmup/internal/WarmupBindingConstants.java
Outdated
Show resolved
Hide resolved
...rmup/src/main/java/org/openhab/binding/warmup/internal/discovery/WarmupDiscoveryService.java
Outdated
Show resolved
Hide resolved
...ab.binding.warmup/src/main/java/org/openhab/binding/warmup/internal/handler/RoomHandler.java
Outdated
Show resolved
Hide resolved
Sorry - I thought I'd already removed that but it's in my next push
The duplicated serialNumber, which is now removed, so the point is no longer open. |
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.
You need to replace SmartHomeUnits
by Units
to make the code compile.
bundles/org.openhab.binding.warmup/src/main/resources/OH-INF/binding/binding.xml
Outdated
Show resolved
Hide resolved
...warmup/src/main/java/org/openhab/binding/warmup/internal/handler/MyWarmupAccountHandler.java
Outdated
Show resolved
Hide resolved
...warmup/src/main/java/org/openhab/binding/warmup/internal/handler/MyWarmupAccountHandler.java
Outdated
Show resolved
Hide resolved
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
...warmup/src/main/java/org/openhab/binding/warmup/internal/handler/MyWarmupAccountHandler.java
Outdated
Show resolved
Hide resolved
...ab.binding.warmup/src/main/java/org/openhab/binding/warmup/internal/handler/RoomHandler.java
Outdated
Show resolved
Hide resolved
...ab.binding.warmup/src/main/java/org/openhab/binding/warmup/internal/handler/RoomHandler.java
Outdated
Show resolved
Hide resolved
...ing.warmup/src/main/java/org/openhab/binding/warmup/internal/handler/WarmupThingHandler.java
Outdated
Show resolved
Hide resolved
Other than those few changes it looks good to me. |
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.
There are some last open review comments. And since we're already into th enew year, new release some basic must be updated. Are you able to finish the binding so it can be merged?
...binding.warmup/src/main/java/org/openhab/binding/warmup/internal/WarmupBindingConstants.java
Outdated
Show resolved
Hide resolved
@jamesmelville can you fix the minor code review findings? Then we could merge this before OH 3.1 is released. |
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Hi @cpmeister @fwolter @Hilbrand - sorry for all the delays, life's been happening I guess! Anyway I think I've resolved all the review comments and got everything updated, not sure if I've done it in time for 3.1 but let me know! |
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 addressing the remaining review comments!
LGTM
Your binding will make it into OH 3.1!
Now, you could add your binding's logo to the openHAB website. See https://deploy-preview-1540--openhab-docs-preview.netlify.app/docs/developer/bindings/#add-your-binding-s-logo-to-the-openhab-website |
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
Signed-off-by: James Melville <jamesmelville@gmail.com>
This binding integrates the Warmup 4iE Thermostat https://www.warmup.co.uk/thermostats/smart/4ie-underfloor-heating, via the API at https://my.warmup.com/.
I logged an issue for this at #7996. This PR was initially logged against 2.5.x in this PR #7998. All the comments in the PR have been addressed in this new PR for version 3.0.
Per the readme, it currently supports a Bridge to the API, holding the API credentials, and Rooms, which report current temperature and setpoint, and allow setting of an override of the setpoint for a specified duration.
I have tested this successfully on my own installation.
Resolves #7996