You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logger: homeassistant.config_entries
Source: custom_components/rooster_money/init.py:43
Integration: Natwest Rooster Money (documentation, issues)
First occurred: 00:29:01 (1 occurrences)
Last logged: 00:29:01
Error setting up entry Natwest Rooster Money for rooster_money
Traceback (most recent call last):
File "/config/custom_components/rooster_money/init.py", line 32, in async_setup_entry
rooster = await RoosterMoney.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyroostermoney/roostermoney.py", line 43, in create
await self.update()
File "/usr/local/lib/python3.11/site-packages/pyroostermoney/roostermoney.py", line 52, in update
await self._update_children()
File "/usr/local/lib/python3.11/site-packages/pyroostermoney/roostermoney.py", line 70, in _update_children
child = await ChildAccount.create(child.get("userId"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyroostermoney/child/init.py", line 66, in create
await self.update()
File "/usr/local/lib/python3.11/site-packages/pyroostermoney/child/init.py", line 78, in update
await self.get_active_allowance_period()
File "/usr/local/lib/python3.11/site-packages/pyroostermoney/child/init.py", line 116, in get_active_allowance_period
raise LookupError("No allowance period found")
LookupError: No allowance period found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rooster_money/init.py", line 43, in async_setup_entry
raise CannotConnect
custom_components.rooster_money.CannotConnect
This happens because NatWest hasn't built a new allowance period for the current week, will need to update the update function so that it ignores these errors and doesn't update the data in this situation
System Health details
NA
Checklist
Describe the issue
Integration stops responding after some time with the following error logged:
This error originated from a custom integration.
Logger: custom_components.rooster_money.update_coordinator
Source: helpers/update_coordinator.py:229
Integration: Natwest Rooster Money (documentation, issues)
First occurred: 28 August 2023 at 00:00:48 (6 occurrences)
Last logged: 00:00:37
Error fetching Rooster Money data:
Reproduction steps
...
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: