Mas2112 / solarwatt-energymanager-homeassistant

A SOLARWATT EnergyManager Home Assistant custom component.
MIT License
17 stars 3 forks source link

call of "async_setup_platforms" #13

Closed bochede closed 1 year ago

bochede commented 1 year ago

hi, first I want to thank you for your good integration. actually there seems to be a upcoming change - will it be relevant and I should not upgrade HA or can I ignore it?

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

Mas2112 commented 1 year ago

This should probably be fixed before HA is updated. I'll try to get it fixed ASAP

Mas2112 commented 1 year ago

I have create 0.7.0, which is compatible with 2023.3