dlarrick / hass-kumo

Home Assistant module interfacing with Mitsubishi mini-split units
MIT License
96 stars 21 forks source link

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups #101

Closed matthewhadley closed 1 year ago

matthewhadley commented 1 year ago

From the Home Assistant logs in version 2023.2

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

bmos commented 1 year ago

This deprecation warning is in regard to this line: https://github.com/dlarrick/hass-kumo/blob/854423af15cf3cd41c8ebd24de5f29d1ddcfda61/custom_components/kumo/__init__.py#L102

The new process is described here.

dlarrick commented 1 year ago

Thanks, I should have time to fix this up this week