-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
OpenTherm device #3921
base: dev
Are you sure you want to change the base?
OpenTherm device #3921
Conversation
Hey there @khenderick, CODEOWNERS = ["@khenderick"] And run (message by NeedsCodeownersLabel) |
This branch isn't stale, but I'd like to get some feedback on the best way forward here. See for example #3921 (comment). The current code is already running for many months now, working without any issues. |
Thanks for the feedback @jesserockz. I've made the requested changes. I also brought the PR up-to-date with pending changes from my separate component repo. These changes include some new sensors etc, but also include a refactor to spread communication in time, getting rid of the "took a long time for an operation"-messages. I did my best to also apply your suggestions to that new code. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
This PR is not stale from my end. I still hope that eventually I will get some constructive feedback and that it will get merged in. If it's unlikely this will ever be merged in, I also would like to know. To be honest, it's a bit demotivating to have a PR open for well over a year with some review feedback, but nothing about if and when it would or could be merged in. |
Hello @khenderick! I'm very excited about this PR; thanks for putting in the effort. I really appreciate it. I'm not part of the esphome team, but I've worked with GitHub before and see why nobody reviewed your PR. If you don't re-request the review, the PR won't appear in the list of PRs to be reviewed. I'd also mark the previous review as closed, just in case. Again, thank you 🙏 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #3921 +/- ##
==========================================
+ Coverage 53.70% 54.13% +0.42%
==========================================
Files 50 50
Lines 9408 9619 +211
Branches 1654 1698 +44
==========================================
+ Hits 5053 5207 +154
- Misses 4056 4086 +30
- Partials 299 326 +27 ☔ View full report in Codecov by Sentry. |
I've re-requested the review, thanks for the tip. Hope it helps 🤞.
You're welcome 🙂. In case you didn't know yet, you can already use this component directly via https://github.com/khenderick/esphome-opentherm 👍. |
What does this implement?
This PR introduces support for opentherm devices such as:
Those are typically connected to an ESP8266 or ESP32
The functional aspect (OpenTherm communications) is heavily based on ihormelnyk/opentherm_library.
The goal of this integration is not to provide a full-blown climate device, but rather expose a bunch of OpenTherm data and functionality. To make use of this data and functionality is up to the user. This could be by - for example - using the exposed enities in ESPHome/HA automations or by using the exposed entities in other components (e.g. a combination of PID Climate and a few Template Outputs)
As this is my first contribution, I'm also looking for constructive criticism on how to enhance this integration where needed.
Types of changes
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#2379
Test Environment
Example entry for
config.yaml
:Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: