neggert / hass-egauge

Home Assistant custom component for eGauge monitor
MIT License
15 stars 2 forks source link

integration 'egauge' calls async_forward _entry_setup for integration #317

Open jdwhite opened 5 days ago

jdwhite commented 5 days ago

Version of the custom_component

0.4.1

Configuration

N/A

Describe the bug

Current version is using soon-to-be-deprecated calls.

Debug log

 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'egauge' calls async_forward_entry_setup for integration, egauge with title: http://192.168.xx.yy and entry_id: 5b2ddc8b4deadbeefc4ad0cdd26ef65e, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/egauge/__init__.py, line 65: hass.async_create_task(hass.config_entries.async_forward_entry_setup(entry, SENSOR)), please create a bug report at https://github.com/neggert/egauge/issues

 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration egauge with title: http://192.168.99.26 and entry_id: 5b2ddc8b47a76fc55c4ad0cdd26ef65e, during setup without awaiting async_forwar
d_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.