Closed bouwew closed 2 months ago
[!WARNING]
Rate limit exceeded
@bouwew has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 40 minutes and 7 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 649663a0b5777f8b1082297b13f9aa8aa85dd4cd and 09c10ee00b9855f25646f6b3f3eba5741ace117a.
In version 0.51.0, the Plugwise integration for Home Assistant introduces a new Reboot button feature, enabling users to restart devices directly from the interface. This update includes modifications across multiple files to support the new button entity, enhanced error handling, and updated tests to ensure the new functionality works as intended. Additionally, the redacting of diagnostics output was reverted due to non-acceptance in HA Core.
File(s) | Summary |
---|---|
CHANGELOG.md |
Documented the addition of the Reboot button feature and the revert of diagnostics output redaction. |
custom_components/plugwise/button.py |
Introduced Plugwise Button component, added async_add_entities parameter to async_setup_entry , and async_press method to PlugwiseButtonEntity class. |
custom_components/plugwise/const.py |
Added REBOOT constant and included BUTTON platform in the PLATFORMS list for Plugwise devices. |
custom_components/plugwise/coordinator.py |
Added PlugwiseError exception handling, refactored _async_update_data method with enhanced logging, and device registry operations. |
custom_components/plugwise/manifest.json |
Updated version to 0.51.0 and requirements to Plugwise 0.38.0. |
custom_components/plugwise/strings.json |
Added a new entry for the Reboot button action under the "button" category. |
tests/components/plugwise/fixtures/.../all_data.json |
Added "reboot": true field to various JSON fixture files representing different device states. |
tests/components/plugwise/snapshots/test_diagnostics.ambr |
Added 'reboot': True key in a nested dictionary structure for test diagnostics. |
tests/components/plugwise/test_button.py |
Created tests for Plugwise button entities, focusing on reboot functionality. |
tests/components/plugwise/test_init.py |
Adjusted expected counts in assertions within the test_update_device function. |
In Home Assistant's realm so bright,
A Reboot button now takes flight,
With Plugwise buttons, devices restart,
Bringing ease to every heart.
Diagnostics clear, no more fret,
Version 0.51.0, the best one yet!
🌟✨🔄
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?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Summary by CodeRabbit
These updates enhance device management and improve user experience by providing more control and clearer diagnostics.