ollo69 / ha-smartthinq-sensors

HomeAssistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface.
Apache License 2.0
1.03k stars 149 forks source link

Warnings in HA logfile #745

Closed def1149 closed 4 days ago

def1149 commented 2 months ago

HA version 2024.5.0b6 but also in 2024.4.x

2024-05-01 10:30:42.230 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module inside the event loop by custom integration 'smartthinq_sensors' at custom_components/smartthinq_sensors/wideq/core_async.py, line 1637: encoding = detect(content)["encoding"] (offender: /usr/local/lib/python3.12/site-packages/charset_normalizer/utils.py, line 256: importlib.import_module("encodings.{}".format(name)).IncrementalDecoder,), please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues 2024-05-01 10:30:48.551 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/pydub/utils.py:300: SyntaxWarning: invalid escape sequence '(' m = re.match('(sup?) (([0-9]{1,2}) bit)$', token) 2024-05-01 10:30:48.552 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/pydub/utils.py:301: SyntaxWarning: invalid escape sequence '(' m2 = re.match('(sup?)( (default))?$', token) 2024-05-01 10:30:48.553 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/pydub/utils.py:310: SyntaxWarning: invalid escape sequence '(' elif re.match('(flt)p?( (default))?$', token): 2024-05-01 10:30:48.553 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/pydub/utils.py:314: SyntaxWarning: invalid escape sequence '(' elif re.match('(dbl)p?( (default))?$', token):

ollo69 commented 1 month ago

This should be fixed with last release

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 4 days ago

This issue was closed because it has been stalled for 7 days with no activity.