fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
553 stars 101 forks source link

Call to async_setup_platform fails in HA version 2023.3 #630

Open gizmoscott opened 1 year ago

gizmoscott commented 1 year ago

Describe the bug Please check out the Q&A page first! A clear and concise description of what the bug is. Please make sure this bug is NOT about the Reolink HACS integration, only for the new Reolink HA integration.

To Reproduce Steps to reproduce the behavior. Please provide the error from the log if possible.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment: Please provide useful information about your environment, like:

Additional context Add any other context about the problem here.

gizmoscott commented 1 year ago

Describe the bug Please check out the Q&A page first! A clear and concise description of what the bug is. Please make sure this bug is NOT about the Reolink HACS integration, only for the new Reolink HA integration.

To Reproduce Steps to reproduce the behavior. Please provide the error from the log if possible.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment: Please provide useful information about your environment, like:

  • Home Assistant version
  • Reolink camera model
  • Camera firmware number

Additional context Add any other context about the problem here.

Log Message: 2023-02-26 20:36:56.883 WARNING (MainThread) [homeassistant.helpers.frame] 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 hacs using this method at custom_components/hacs/init.py, line 171: hass.config_entries.async_setup_platforms(

cpainchaud commented 1 year ago

interesting ... as you can see in the code there is no mention to async_setup_platforms

Are you sure it's not HACS itself that needs an update?