jrfernandes / ontario_energy_board

Home Assistant component that installs a sensor with the current energy rate for Ontario energy companies
MIT License
41 stars 10 forks source link

async_setup_platforms depreciated in HA 2023.3 #21

Closed rcblackwell closed 1 year ago

rcblackwell commented 1 year ago

Noted a warning in my HA logs regarding depreciation of async_setup_platforms failing in HA release 2023.3 onward. Thought it should be brought to attention in case it hasn't been noted yet.

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 2:37:09 PM (1 occurrences)
Last logged: 2:37:09 PM

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 ontario_energy_board using this method at custom_components/ontario_energy_board/__init__.py, line 21: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
jprasm commented 1 year ago

Same issue here.

jprasm commented 1 year ago

Any updates here? Error persists in 2023.4x

magnonan commented 1 year ago

Same here...any updates?

kenlasko commented 1 year ago

The integration is now broken because of this. See https://github.com/jrfernandes/ontario_energy_board/issues/23

jrfernandes commented 1 year ago

This is now fixed with v0.3.3