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

[HA 2024.4] blocking event loop at startup up #606

Closed
Mariusthvdb opened this issue Mar 17, 2024 · 1 comment
Closed

[HA 2024.4] blocking event loop at startup up #606

Mariusthvdb opened this issue Mar 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Mariusthvdb
Copy link

Mariusthvdb commented Mar 17, 2024

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

  • [X ] 1.) Can you login using the smartphone app We Connect (not We Connect ID or We Connect GO) and interact with your car?
  • [X ] 2.) Please make sure that you can login into https://vwid.vwgroup.io/ and make sure that any "Terms and Conditions" are all checked
  • [X ] 3.) I do not have MFA enabled.

Environment

  • Volkswagencarnet release with the issue: 4.5.9
  • Last working homeassistant-volkswagencarnet release (if known):
  • Home Assistant Core release with the issue: 2024.4.0.dev20240317
  • Operating environment (Home Assistant OS/Supervised/Container/Core/venv): HAOS
  • Car model and year: Golf2024
  • Country where the car was bought: NL
  • Valid We Connect subscription: Yes
  • Have you verified that the We Connect service works via VW´s portal?: Yes

Describe the bug

Debugging startup process in HomeAssisant with core dev BDraco and running asyncio debug on the Profiler reveals below logging.

anything above 0.05 needs to be inspected, and VWcarnet is on the list

Steps to Reproduce

just startup and run profiler

Expected behavior

Screenshots

Traceback/Error logs

Executing <Task finished name='volkswagencarnet - Golf - refresh' coro=<DataUpdateCoordinator._handle_refresh_interval() done, defined at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py:255> result=None created at /usr/src/homeassistant/homeassistant/util/async_.py:35> took 0.132 seconds

Debug information - all JSON responses from logfile

Additional context

we can force the executor import in the Manifest using

  "import_executor": true,

but this would be considered second best, please check with core devs how to adjust optimally.

@Mariusthvdb Mariusthvdb added the bug Something isn't working label Mar 17, 2024
@stickpin stickpin added enhancement New feature or request and removed bug Something isn't working labels Mar 17, 2024
@stickpin stickpin changed the title [BUG] blocking event loop at startup up [HA 2024.4] blocking event loop at startup up Mar 17, 2024
@stickpin stickpin mentioned this issue Mar 17, 2024
4 tasks
@stickpin
Copy link
Collaborator

Thanks for pointing out.
The flag will be added in v4.6.0

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

No branches or pull requests

2 participants