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

Replace depreciated async_setup_platforms #41

Closed dynasticorpheus closed 1 year ago

dynasticorpheus commented 1 year ago

Fix below warning message by using hass.config_entries.async_forward_entry_setups

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

Sholofly commented 1 year ago

@dynasticorpheus Thanks, will check this later!