-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Web_server-detail-all #4301
base: current
Are you sure you want to change the base?
Web_server-detail-all #4301
Conversation
✅ Deploy Preview for esphome ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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. |
@RFDarter sorry I missed this PR along with the code. Can you rebase it and target current since the changes are already released? |
Co-authored-by: Jonathan Swoboda <jonathan.swoboda> Co-authored-by: Keith Burzinski <[email protected]>
WalkthroughThis pull request encompasses version updates and documentation enhancements across multiple files in the ESPHome project. The changes primarily focus on updating version numbers from Changes
Possibly related PRs
Suggested reviewers
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (5)
components/light/esp32_rmt_led_strip.rst (2)
46-49
: Configuring a maximum refresh rate can prevent performance pitfalls.
This is a helpful addition to throttle updates, preventing overly rapid changes on resource-constrained devices.
67-78
: Separate Arduino configuration variables are well-organized.
Placing rmt_channel settings under the Arduino section clarifies the requirement for unique channels per strip.components/climate/midea.rst (1)
162-172
: Enhance temperature range documentation with examples.While the temperature ranges are clearly documented, adding practical examples would make it more user-friendly.
Add examples like:
Sets the value of an internal temperature sensor. The value will be **clamped** to the range: - `0 °C to 37 °C` when ``use_fahrenheit`` is ``false``. - `32 °F to 99 °F` when ``use_fahrenheit`` is ``true``. + +For example: +- If you set 40 °C with ``use_fahrenheit: false``, it will be clamped to 37 °C +- If you set 25 °F with ``use_fahrenheit: true``, it will be clamped to 32 °Fcomponents/opentherm.rst (2)
81-84
: Add cross-reference to automation triggers section.While the automation hooks are documented, adding a cross-reference to ESPHome's general automation documentation would be helpful.
Add a reference to the automation documentation:
- **before_send** (**Optional**) An automation to perform on OpenTherm message before it is sent to the boiler. - **before_process_response** (**Optional**) An automation to perform on boiler response before it is processed. See :ref:`on-the-fly-message-editing` for details. +See also :doc:`/guides/automations` for more information about automation syntax.
361-377
: Enhance code example with additional comments.The example code would benefit from more detailed comments explaining the message structure and potential side effects.
Add more detailed comments:
opentherm: # Usual hub config before_send: then: - lambda: |- - if (x.id == 56) { // 56 is standard message id for DHW setpoint - x.id = 162; // message is passed by refence, so we can change anything, including message id + // Message ID 56 is the standard OpenTherm message id for DHW setpoint + // For Daikin D2C boilers, we need to use message ID 162 instead + if (x.id == 56) { + // Message is passed by reference, so modifications affect the actual message + // Note: Ensure your boiler supports this message ID to avoid communication issues + x.id = 162; } before_process_response: then: - lambda: |- - if (x.id == 162) { // We substitute the original id back, so that esphome is not confused. - x.id = 56; + // Convert the non-standard message ID back to the standard one + // This ensures ESPHome processes the response correctly + if (x.id == 162) { + x.id = 56; }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (11)
Doxygen
(1 hunks)Makefile
(1 hunks)_static/version
(1 hunks)components/climate/midea.rst
(2 hunks)components/display/qspi_dbi.rst
(4 hunks)components/light/esp32_rmt_led_strip.rst
(2 hunks)components/opentherm.rst
(2 hunks)components/remote_receiver.rst
(14 hunks)components/remote_transmitter.rst
(20 hunks)conf.py
(1 hunks)web-api/index.rst
(1 hunks)
✅ Files skipped from review due to trivial changes (2)
- _static/version
- Doxygen
👮 Files not reviewed due to content moderation or server errors (2)
- components/remote_receiver.rst
- components/remote_transmitter.rst
🧰 Additional context used
📓 Path-based instructions (9)
web-api/index.rst (1)
Pattern **
: - Do not generate or add any sequence diagrams
Makefile (1)
Pattern **
: - Do not generate or add any sequence diagrams
components/climate/midea.rst (1)
Pattern **
: - Do not generate or add any sequence diagrams
conf.py (1)
Pattern **
: - Do not generate or add any sequence diagrams
components/remote_receiver.rst (1)
Pattern **
: - Do not generate or add any sequence diagrams
components/display/qspi_dbi.rst (1)
Pattern **
: - Do not generate or add any sequence diagrams
components/light/esp32_rmt_led_strip.rst (1)
Pattern **
: - Do not generate or add any sequence diagrams
components/remote_transmitter.rst (1)
Pattern **
: - Do not generate or add any sequence diagrams
components/opentherm.rst (1)
Pattern **
: - Do not generate or add any sequence diagrams
🔇 Additional comments (19)
conf.py (2)
74-74
: New version number aligns with the updated development cycle.
The version has been incremented to "2025.1", which appears consistent with the broader versioning changes.
76-76
: Dev release notation confirmed.
Using "2025.1.0-dev" for the release helps distinguish in-development builds from stable versions.
Makefile (1)
2-2
: Switching to the 'dev' reference ensures integration with the latest development branch.
This allows fetching the most up-to-date code from the ESPHome repository, suitable for in-progress features and changes.
components/light/esp32_rmt_led_strip.rst (5)
26-27
: Clarified chipset requirement.
Stating that the chipset is not required if manual timings are specified helps avoid confusion.
36-36
: Ensuring clarity in RGB order instructions.
The enumerated list of valid RGB orders is well-defined and consistent with typical LED strip configurations.
50-56
: Introduced IDF configuration block.
Documenting IDF-specific variables (like rmt_symbols) separately helps users distinguish settings under different frameworks.
57-66
: CSV table clarifies memory allocation.
Providing variant-specific data about RMT memory is beneficial for selecting appropriate values.
82-82
: Manual timings reference is properly anchored.
Users can now quickly locate the relevant section for custom chipset timing configurations.
components/display/qspi_dbi.rst (8)
18-19
: Expanded list of tested displays.
Mentioning the JC3636W518 board ensures clearer coverage of different hardware options.
60-66
: Enumerated model options are consistent.
Defining each model in one place prevents confusion and helps with quick reference.
87-87
: swap_xy availability note is helpful.
Highlighting that some chips do not support axis swapping prevents user frustration.
90-90
: More detail on data_rate clarifies hardware constraints.
Documenting supported values (e.g., 80MHz, 40MHz, etc.) helps ensure compatibility with a user’s specific display.
92-94
: draw_rounding is a valuable addition for partial updates.
Ensuring alignment with power-of-2 boundaries aids in stable rendering for certain display controllers.
213-213
: Explicitly setting 'model: JC4832W535'.
This ensures the correct initialization sequence and display behavior for that board.
215-215
: Software rotation set to 270°.
Clear documentation on rotating to landscape mode helps new users orient their display.
222-222
: Introduced show_test_card for easy troubleshooting.
Having a test card option helps quickly verify wiring and orientation before finalizing the setup.
components/climate/midea.rst (1)
Line range hint 148-157
: LGTM! Clear and accurate description of the FollowMe command.
The documentation clearly explains the purpose and usage of the FollowMe command.
web-api/index.rst (1)
78-79
: LGTM! Clear introduction of the new detail parameter.
The documentation clearly introduces the new feature.
components/opentherm.rst (1)
63-77
: LGTM! Well-structured boiler-specific configuration documentation.
The configuration options are clearly documented with their respective OpenTherm message IDs and value ranges.
Description:
Related issue (if applicable): fixes
Pull request in esphome with YAML changes (if applicable): esphome/esphome#7531
Checklist:
[] I am merging into
next
because this is new documentation that has a matching pull-request in esphome as linked above.or
I am merging into
current
because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.Link added in
/index.rst
when creating new documents for new components or cookbook.