Closed CoMPaTech closed 2 months ago
The recent updates to the Plugwise integration encompass enhancements to the CHANGELOG, manifest, HACS configuration, and project settings. The CHANGELOG now includes an entry for version v0.52.1, detailing code improvements and documentation updates. The manifest and HACS files reflect a simplified name and the addition of automatic device discovery. Additionally, the project configuration description has been refined, indicating a potential rebranding.
Files | Change Summary |
---|---|
CHANGELOG.md |
Added entry for version v0.52.1, documenting code improvements and notes on documentation updates regarding upstreaming and downstreaming. |
custom_components/plugwise/manifest.json , hacs.json |
Simplified integration name from "Plugwise Smile/Stretch Beta" to "Plugwise Beta," removed after_dependencies , added zeroconf for automatic device discovery, and updated Home Assistant version from "2024.2.0" to "2024.8.0." |
pyproject.toml |
Updated description from "Plugwise Smile/Stretch custom_component (BETA)" to "Plugwise beta custom-component." |
custom_components/plugwise/climate.py |
Introduced a new constant PARALLEL_UPDATES = 0 and adjusted the order of attributes _homekit_mode and _previous_mode . |
sequenceDiagram
participant User
participant Plugwise
participant HomeAssistant
User->>HomeAssistant: Configure Plugwise
HomeAssistant->>Plugwise: Initiate async_setup_entry
Plugwise->>Plugwise: Setup entities
Plugwise->>HomeAssistant: Register services
HomeAssistant->>User: Confirm setup
🐰 In the garden where I play,
New changes bloom and sway,
Streams of code, all bright and neat,
Hop along, a joyful feat!
With every tweak, our hearts align,
Plugwise shines, oh how divine!
🌼✨
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?
Please remove the
async_setup_entry()
-changes, I kept the code like it was because I wanted to keep in the debug-logging for troubleshooting.
Reverted but dropped ATTR_NAME just for clarity, tried wrapping/overloading the Core functionality but that would take considerable more mypy time. If it is better for diagnostics we might challenge this to core as well by adding debug check to that helpers class? (Outside of scope for this PR though)
In 'our' HA core there is a pwsmall
branch fwiw (not yet fully up to par)
I added the zeroconf-line in my system, all looks normal after a HA restart.
Confirmed for merge?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Points to notice:
climate.py
has issues when rewriting as separate pw-beta and core functionality (rough progress in gist; https://gist.github.com/CoMPaTech/664d3d15a4572be5769fb510df154f2b)Set up [Plugwise/Smile] ...
descriptors :)Summary by CodeRabbit
New Features
Improvements
Documentation