erikkastelec / hass-WEM-Portal

Custom component for retrieving sensor information from Weishaupt WEM Portal
MIT License
44 stars 9 forks source link

HA UserWarning: Using slow pure-python SequenceMatcher. #80

Closed iridium2001 closed 7 months ago

iridium2001 commented 9 months ago

In my logs, i found this message:

UserWarning: Using slow pure-python SequenceMatcher.

Logger: py.warnings Source: custom_components/wemportal/wemportalapi.py:14 Integration: Weishaupt WEM Portal (documentation, issues) First occurred: 00:24:27 (1 occurrences) [directly after a restart] Last logged: 00:24:27

/usr/local/lib/python3.11/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')

Aside of the message in the logs, there seems to be no practical issue associated with this. My current setup:

Home Assistant 2023.10.1 Supervisor 2023.10.0 Operating System 10.5 Frontend 20231005.0 - latest

erikkastelec commented 7 months ago

Hi,

Nothing to worry about. The Python-Levenshtein package speeds up some operations we perform to combine data from the website and mobile app. These operations are quite infrequent, and I have decided to remove the package requirement due to some users experiencing issues with the package on Raspberry Pi devices.

Thanks for keeping an eye out for any bugs.