Sholofly / lghorizon

Custom integration to control LG Horizon settop boxes for Ziggo(NL), Magenta(AT), UPC(CH), Virgin(GB, IE), Telenet(BE)
GNU General Public License v3.0
62 stars 15 forks source link

Integration called deprecated "async_setup_platforms" instead of awaiting "async_forward_entry_setups" #49

Closed medivb closed 1 year ago

medivb commented 1 year ago

Describe the bug Warning message of deprecated function when starting integration:

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

To Reproduce Start integration on HA instance with version 2023.2.xx

Expected behavior No warning about deprecated function use and that integration will continue to work in HA 2023.3

Screenshots n/a

Version of the component 0109318

Logging n/a

Additional context n/a

Sholofly commented 1 year ago

Hi @medivb, This is already fixed in the latest version.