tlskinneriv / awnet_local

Enables local support for Ambient Weather personal weather stations.
26 stars 5 forks source link

2023.3 Update - Log Warning for async_setup_platforms instead of async_forward_entry_setups #18

Closed ziptbm closed 1 year ago

ziptbm commented 1 year ago

Describe the bug After upgrading to 2023.3, I'm seeing this warning in my logs for this integration

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: March 1, 2023 at 18:20:51 (1 occurrences)
Last logged: March 1, 2023 at 18:20:51

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 awnet_local using this method at custom_components/awnet_local/__init__.py, line 109: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

To Reproduce I've done nothing since original installation other than upgrade Home Assistant to the latest version.

Expected behavior

I'd like to understand if this impacts anything or if I need to take action on my end to fix.

tlskinneriv commented 1 year ago

Cause: deprecated method Impact: integration will potentially fail to load Action: none on your part, integration needs to be updated. Should be an easy fix. Will get out ASAP.