finity69x2 / nws_alerts

An updated version of the nws_alerts custom integration for Home Assistant
84 stars 29 forks source link

fix: change to async_forward_entry_setup #50

Closed firstof9 closed 1 year ago

firstof9 commented 1 year ago

async_setup_platforms is being deprecated in Home Assistant so switching to async_forward_entry_setups before 2023.3.0 is released.

finity69x2 commented 1 year ago

Sorry, I just saw this.

I made a change that seems to be working but is different than yours. Is there a downside to doing it the way I did it? Or should I use yours instead?

I modeled my change on the HACS integration entry.

firstof9 commented 1 year ago

If it works it works, multiple ways to skin this cat.