Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detected code that calls async_forward_entry_setup for integration tauron_amiplus #193

Open
mmg1t opened this issue Oct 8, 2024 · 0 comments

Comments

@mmg1t
Copy link

mmg1t commented Oct 8, 2024

AMIplus najnowszy:

manifest.json:
"version": "v2.6.0"

HA w najnowszej stable wersji z 2024.10 rzuca błędami:

2024-10-08 08:32:34.955 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform tauron_amiplus is taking over 10 seconds.
2024-10-08 08:33:24.954 ERROR (MainThread) [homeassistant.components.sensor] Setup of platform tauron_amiplus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-10-08 08:33:24.956 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration tauron_amiplus with title: eLicznik ****************** and entry_id: a9384149b4d7c71999a40ff175dd3500, during setup without awaiting async_forward_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.
Stack (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2223, in async_forward_entry_setup
_report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1192, in _report_non_awaited_platform_forwards
report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 155, in report
_LOGGER.warning(msg, stack_info=True)
2024-10-08 08:34:17.722 ERROR (MainThread) [custom_components.tauron_amiplus.coordinator] Error requesting tauron_amiplus data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2024-10-08 08:36:45.667 INFO (MainThread) [custom_components.tauron_amiplus.coordinator] Fetching tauron_amiplus data recovered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant