Open LEJOUI opened 5 months ago
Same problem here
Detected blocking call to import_module with args ('matplotlib.backends.backend_agg',) inside the event loop by custom integration 'tibber_custom' at custom_components/tibber_custom/camera.py, line 32: matplotlib.use("Agg") (offender: /usr/local/lib/python3.12/site-packages/matplotlib/backends/registry.py, line 323: return importlib.import_module(module_name)), please create a bug report at https://github.com/Danielhiversen/home_assistant_tibber_custom/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module Traceback (most recent call last): File "
And also:
Detected blocking call to open with args ('/usr/share/zoneinfo/UTC', 'rb') inside the event loop by custom integration 'tibber_custom' at custom_components/tibber_custom/camera.py, line 151: fig.autofmt_xdate() (offender: /usr/local/lib/python3.12/site-packages/dateutil/tz/tz.py, line 464: fileobj = open(fileobj, 'rb')), please create a bug report at https://github.com/Danielhiversen/home_assistant_tibber_custom/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "
same here
what had you done regarding the matplotlib missing issue ?
Warning shown in logbook:
Detected blocking call to import_module inside the event loop by custom integration 'tibber_custom' at custom_components/tibber_custom/camera.py, line 32: matplotlib.use("Agg") (offender: /usr/local/lib/python3.12/site-packages/matplotlib/backends/registry.py, line 316: return importlib.import_module(module_name)), please create a bug report at https://github.com/Danielhiversen/home_assistant_tibber_custom/issues