Skip to content

Version 2026.1.0

Choose a tag to compare

@nao-pon nao-pon released this 19 Jan 03:06
· 2 commits to main since this release

πŸ“Œ Release 2026.1.0 β€” January 2026

🎯 Summary

This release focuses on improving the reliability and correctness of the integration initialization flow, particularly addressing warnings and errors related to ConfigEntryNotReady when setting up platforms. It also includes internal improvements for coordinator handling and fetcher configuration updates.


🧠 Changes

πŸ› οΈ Fix ConfigEntryNotReady Handling

  • Prevent warnings about ConfigEntryNotReady being raised from forwarded platforms.
  • Sensor coordinator now runs its first refresh before forwarding any platforms.
  • If the initial refresh fails, the entire config entry setup is aborted early with ConfigEntryNotReady, preventing partial platform setup (including remote).

πŸ“¦ Initialization Flow Improvements

  • Moved DataUpdateCoordinator creation and first refresh into __init__.py’s async_setup_entry.
  • Platforms (sensor, remote, etc.) are forwarded only after successful initial coordination.
  • The remote platform no longer attempts device-specific logic during setup and depends on the parent entry’s connection result.

βš™οΈ Fetcher Enhancements

  • Added apply_config() to Wfirex4Fetcher to update an existing fetcher instance when options or host change, instead of always recreating.
  • Network configuration (host, offsets, scan interval) updates are now consistently applied to existing fetcher/coordinator instances.

🚫 Improved Error Reporting

  • Sensor fetch errors now raise UpdateFailed("Sensor fetch error: invalid response") instead of returning None, which aligns with Home Assistant conventions for update failure reporting.

🧹 Code Cleanup

  • Removed legacy/unused connection test implementation in favor of a unified test and coordinator initialization strategy.
  • Streamlined sensor.py so platform setup is lightweight and does not perform first refresh or raise ConfigEntryNotReady.

πŸ§ͺ Behavior Notes

  • If the device cannot be reached during the initial connection or first refresh, the integration will fail to set up entirely and Home Assistant will retry per its retry policy.
  • The remote platform will not be available unless the underlying device is reachable.

πŸŽ‰ Thanks

Thank you for using hass_rs_wfirex4!
This release improves stability and aligns the integration more closely with Home Assistant best practices. If you encounter any issues, please open an issue on GitHub with logs and details.


Full Changelog: 2025.12.0...2026.1.0