home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.65k stars 30.41k forks source link

Usage of async_setup_platforms instead of awaiting async_forward_entry_setups #91205

Closed davefx closed 1 year ago

davefx commented 1 year ago

The problem

I've seen this problem when starting HA version 2023.4

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for pvpc_hourly_pricing using this method at custom_components/pvpc_hourly_pricing/__init__.py, line 102: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

What version of Home Assistant Core has the issue?

core-2023.4.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

pvpc_hourly_pricing

Link to integration documentation on our website

https://www.home-assistant.io/integrations/pvpc_hourly_pricing

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for pvpc_hourly_pricing using this method at custom_components/pvpc_hourly_pricing/__init__.py, line 102: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @azogue, mind taking a look at this issue as it has been labeled with an integration (pvpc_hourly_pricing) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `pvpc_hourly_pricing` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign pvpc_hourly_pricing` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


pvpc_hourly_pricing documentation pvpc_hourly_pricing source (message by IssueLinks)

azogue commented 1 year ago

Hi @davefx,

It seems you are using a 'custom' version of the component:

Please report issue to the custom integration author for pvpc_hourly_pricing using this method at custom_components/pvpc_hourly_pricing/__init__.py 🤨

This problem does not affect the pvpc_hourly_pricing integration of HA Core, so I'm closing this issue

In the custom/beta version of this integration 😜, in https://github.com/azogue/ha-pvpc-custom, the problem is fixed too, so I recommend you