elahd / pylaundry

Python library for viewing laundry room and account status for facilities using ESD payment equipment.
MIT License
5 stars 0 forks source link

Library doesn't log back in when session expires #37

Open elahd opened 1 year ago

elahd commented 1 year ago

This error originated from a custom integration.

Logger: custom_components.cyclepay Source: custom_components/cyclepay/init.py:56 Integration: CyclePay for ESD/Hercules Laundry Rooms (documentation, issues) First occurred: February 16, 2023 at 12:58:48 PM (1277 occurrences) Last logged: 10:14:49 AM

Unexpected error fetching cyclepay data: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 195, in _async_update_data return await self.update_method() File "/config/custom_components/cyclepay/init.py", line 56, in async_update_data await laundry.async_refresh() File "/usr/local/lib/python3.10/site-packages/pylaundry/init.py", line 181, in async_refresh raise NotLoggedIn pylaundry.exceptions.NotLoggedIn