Closed bouwew closed 2 months ago
In version 0.51.0
of the Home Assistant integration, a new Reboot button was introduced for restarting devices using plugwise v0.38.0
. Subsequently, version 0.51.1
updated the plugwise
dependency to v0.38.1
. Exception handling in the _async_update_data
function was refined to handle ConnectionFailedError
and UnsupportedDeviceError
more effectively. Additionally, test cases were updated to handle PlugwiseError
.
Files | Change Summary |
---|---|
CHANGELOG.md |
Documented new feature (Reboot button) and dependency update to plugwise v0.38.1 . |
custom_components/plugwise/coordinator.py |
Refined exception handling in _async_update_data function. |
custom_components/plugwise/manifest.json |
Updated plugwise version from 0.38.0 to 0.38.1 . |
tests/components/plugwise/test_init.py |
Added PlugwiseError to exceptions triggering ConfigEntryState.SETUP_RETRY . |
sequenceDiagram
participant User
participant HomeAssistant
participant Plugwise
User->>HomeAssistant: Click Reboot button
HomeAssistant->>Plugwise: Send reboot command
Plugwise-->>HomeAssistant: Acknowledge reboot
HomeAssistant-->>User: Display reboot confirmation
A button to reboot, oh what a delight,
With Plugwise updated, all through the night.
Errors handled with care, no need for fright,
Home Assistant shines, in the smart home light.
🎉✨
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
Bug Fixes
Dependencies
plugwise
dependency to version0.38.1
.