vinteo / hass-opensprinkler

OpenSprinkler Integration for Home Assistant
MIT License
204 stars 40 forks source link

async_forward_entry_setup is deprecated #296

Closed EdLeckert closed 2 months ago

EdLeckert commented 2 months ago

Replace calls to hass.config_entries.async_forward_entry_setup with await hass.config_entries.async_forward_entry_setups.

Resolves #295.

vinteo commented 2 months ago

Does this have a min version? do we need to update the verison here?

https://github.com/vinteo/hass-opensprinkler/blob/464555921610b5ec4cc6a19ee75f64c063c5c41a/hacs.json#L3

EdLeckert commented 2 months ago

Does this have a min version? do we need to update the verison here?

https://github.com/vinteo/hass-opensprinkler/blob/464555921610b5ec4cc6a19ee75f64c063c5c41a/hacs.json#L3

No. The function async_forward_entry_setups was first available in June 2022:

https://github.com/home-assistant/core/pull/73806