Async_setup_platforms deprecated

As async_setup_platforms will be deprecated next month I don’t understand how to replace it with hass.config_entries.async_setup_platforms(entry, PLATFORMS)

Can someone help me and give some insight?

This is generally something that the integration developer / maintainer needs to rectify.
From what I have seen on github just about every integration thats logging this error the developer / maintainer is aware and has either already rectified the issue for next release or is aware and will do so in the relevant time frame.

I found it, we have to loop and create a task for this

2 Likes

Can you please share how you did it?