Skip to content

[Bug]: function async_forward_entry_setup removed in HA 2025.6 #19

@holgergrote

Description

@holgergrote

What happened?

In init.py:95 the function async_forward_entry_setup was already deprecated and now removed with HA 2025.6.
The Method now is named async_forward_entry_setups (with s).

Changing this will get the integration working again. (Tested locally)

Version

latest

What version of Home Assistant are you seeing the problem on?

2025.6.0

Relevant log output

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/clage_homeserver/__init__.py", line 96, in async_setup_entry
    hass.config_entries.async_forward_entry_setup(config, "sensor")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setup'. Did you mean: 'async_forward_entry_setups'?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions