Skip to content

Release Notes - Version 1.1.0

Choose a tag to compare

@andrejs2 andrejs2 released this 08 Mar 20:20
0bcf46f

Release Notes

Version 1.1.0

Changes

  • Deprecated call removal

    • Replaced async_forward_entry_setup(config_entry, "sensor") with the new async_forward_entry_setups(config_entry, ["sensor"]) in __init__.py.
    • Removed any usage of hass.async_create_task() when forwarding the config entry, ensuring we await the calls directly.
  • Imports & Type Hints

    • Added missing imports for HomeAssistant and ConfigEntry from the Home Assistant core modules to avoid NameError exceptions.
    • Updated function signatures with async_add_entities: AddEntitiesCallback where appropriate.
  • Improved Compatibility

    • Adjusted the integration to align with Home Assistant’s current async patterns, avoiding warnings related to event loop usage and ensuring future compatibility (especially ahead of HA 2025.x deprecations).

Notes

  • This release resolves the warning:

    "Detected code that calls async_forward_entry_setup for integration 'arso_potresi' … which is deprecated, await async_forward_entry_setups instead."

  • If you have been seeing NameError: name 'HomeAssistant' is not defined or deprecation logs regarding async setup, these changes should now address them.

Upgrading

  • Simply replace the old arso_potresi custom component folder with the updated version and restart Home Assistant.
  • No breaking configuration changes are introduced in this release.

Thank you for using ARSO Potresi! If you encounter any further issues or have feature requests, feel free to open a new issue on GitHub.