bacco007 / sensor.opennem

OpenNEM Sensor for Home Assistant
MIT License
12 stars 6 forks source link

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3 #21

Closed CloCkWeRX closed 1 year ago

CloCkWeRX commented 1 year ago

Version of the custom_component

Current

Configuration

Via HACS

Describe the bug

Warnings on startup

Debug log

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: February 10, 2023 at 6:32:50 PM (1 occurrences)
Last logged: February 10, 2023 at 6:32:50 PM

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

https://github.com/bacco007/sensor.opennem/blob/master/custom_components/opennem/__init__.py#L85

bacco007 commented 1 year ago

Fixed in 2023.02.1