homeassistant-blitzortung icon indicating copy to clipboard operation
homeassistant-blitzortung copied to clipboard

Log flooding

Open jhemak opened this issue 3 months ago • 2 comments

Whenever the sensor is updating due to detected lightning, I am getting a flood of messages in the logs to the point that I am not even sure what to copy/paste here. The sensor does update state and nothing appears broken aside from the hundreds of python-related log messages. If I disable this integration, the problem stops - so it definitely seems to be an issue with this custom code.

A few example lines:

  • RuntimeError: no running event loop
  • 2024-03-15 17:28:03.255 ERROR (Recorder) [homeassistant] Error doing job: Task exception was never retrieved
  • 2024-03-15 17:28:03.254 WARNING (Recorder) [py.warnings] /usr/local/lib/python3.12/site-packages/sqlalchemy/sql/lambdas.py:1366:
  • RuntimeWarning: coroutine 'EntityPlatform._async_add_entity' was never awaited

Anyone else experiencing this with 2024.3?

jhemak avatar Mar 16 '24 02:03 jhemak