adaptive-cover icon indicating copy to clipboard operation
adaptive-cover copied to clipboard

Detected blocking call to import_module inside the event loop

Open swa72 opened this issue 9 months ago • 1 comments

What version of Adaptive Cover are you using?

1.1.4

What version of Home Assistant are you using?

core-2024.5.0

Checklist

  • [X] I have filled out the issue template to the best of my ability.
  • [X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • [X] This issue is not a duplicate issue of currently previous issues..

Describe the issue

See dump

Reproduction steps

...

Diagnostics dump

I found this in the logs ...

Logger: homeassistant.util.loop
Source: util/loop.py:99
First occurred: 16:09:56 (1 occurrences)
Last logged: 16:09:56


Detected blocking call to import_module inside the event loop by custom integration 'adaptive_cover' at custom_components/adaptive_cover/sun.py, line 26: times = pd.date_range( (offender: /usr/local/lib/python3.12/site-packages/pandas/compat/_optional.py, line 132: module = importlib.import_module(name)), please create a bug report at https://github.com/basbruss/adaptive-cover/issues

swa72 avatar May 02 '24 14:05 swa72