Closed Dino0005 closed 1 week ago
This is the __init__.py
file with fixes for async_forward_entry_setup which is deprecated
If it helps anyone, here it is
init.py.zip
I see similar errors, but not sure if these are the same root cause. My log has these entries relating to Solis:
2024-08-25 10:25:09.139 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/custom_components/solis/workarounds.yaml', 'r') inside the event loop by custom integration 'solis' at custom_components/solis/soliscloud_api.py, line 185: with open('/config/custom_components/solis/workarounds.yaml', 'r') as file: (offender: /config/custom_components/solis/soliscloud_api.py, line 185: with open('/config/custom_components/solis/workarounds.yaml', 'r') as file:), please create a bug report at https://github.com/hultenvp/solis-sensor/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (most recent call last):
File "
2024-08-25 10:25:09.143 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'solis' calls async_forward_entry_setup for integration, solis with title: Station 12EF18 and entry_id: 87db3c31b69eda53ecb87b0569535cee, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/solis/init.py, line 94: hass.async_create_task(, please create a bug report at https://github.com/hultenvp/solis-sensor/issues
The issue you are having is this: https://github.com/hultenvp/solis-sensor/issues/377
Describe the bug async_forward_entry_setup is deprecated and will stop working in Home Assistant 2025.6
Versions Versions Home Assistant 2024.7.0 HACS Version: None (manual installation of Solis integration) Integration version: 3.5.2
logs:
Screenshots