Skip to content

Warning: async_forward_entry_setups without await – will break in future HA versions #443

@Casa-Bosoni

Description

@Casa-Bosoni

Hi,

I am using the Thermal Comfort integration with Home Assistant 2025.8, and I am seeing the following warning in my logs:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:395

Detected code that calls async_forward_entry_setups for integration thermal_comfort with title: Sensor_Innen_Werkraum and entry_id: 01J73T1S5MBM47NG5NEBYYXGEG, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue

Detected code that calls async_forward_entry_setups for integration thermal_comfort with title: Sensor_Aussen and entry_id: 01J73YCK03V01AN0BYYFMEA9MK, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue

Detected code that calls async_forward_entry_setups for integration thermal_comfort with title: Sensor_Innen_Lager and entry_id: 01J7419MNZPJ1RBRS1GGA6959J, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue

Detected code that calls async_forward_entry_setups for integration thermal_comfort with title: Sensor_Innen_Kellervorraum and entry_id: 01J741JA1MFETEGVYAPKCAEBRH, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue

Everything is still working fine for now, but Home Assistant warns that this code path will break in a future release.
Could you please update the integration to use await async_forward_entry_setups during setup?

Thanks a lot for your great work on this integration! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions