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
{{ message }}
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
Traceback (most recent call last):
File "/config/custom_components/grocy/init.py", line 227, in async_update_chores
] = await self.hass.async_add_executor_job(wrapper)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/grocy/init.py", line 223, in wrapper
return self.client.chores(True)
File "/usr/local/lib/python3.8/site-packages/pygrocy/grocy.py", line 461, in chores
chore.get_details(self._api_client)
File "/usr/local/lib/python3.8/site-packages/pygrocy/grocy.py", line 243, in get_details
self._init_from_ChoreDetailsResponse(details)
File "/usr/local/lib/python3.8/site-packages/pygrocy/grocy.py", line 221, in _init_from_ChoreDetailsResponse
self._assignment_type = Chore.AssignmentType(chore_data.assignment_type)
File "/usr/local/lib/python3.8/enum.py", line 304, in call
return cls.new(cls, value)
File "/usr/local/lib/python3.8/enum.py", line 595, in new
raise exc
File "/usr/local/lib/python3.8/enum.py", line 579, in new
result = cls.missing(value)
File "/usr/local/lib/python3.8/enum.py", line 608, in missing
raise ValueError("%r is not a valid %s" % (value, cls.name))
ValueError: 'who-least-did-first' is not a valid AssignmentType
The text was updated successfully, but these errors were encountered:
Should be
who-least-did-first
pygrocy/pygrocy/grocy.py
Line 185 in 066993d
Traceback (most recent call last):
File "/config/custom_components/grocy/init.py", line 227, in async_update_chores
] = await self.hass.async_add_executor_job(wrapper)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/grocy/init.py", line 223, in wrapper
return self.client.chores(True)
File "/usr/local/lib/python3.8/site-packages/pygrocy/grocy.py", line 461, in chores
chore.get_details(self._api_client)
File "/usr/local/lib/python3.8/site-packages/pygrocy/grocy.py", line 243, in get_details
self._init_from_ChoreDetailsResponse(details)
File "/usr/local/lib/python3.8/site-packages/pygrocy/grocy.py", line 221, in _init_from_ChoreDetailsResponse
self._assignment_type = Chore.AssignmentType(chore_data.assignment_type)
File "/usr/local/lib/python3.8/enum.py", line 304, in call
return cls.new(cls, value)
File "/usr/local/lib/python3.8/enum.py", line 595, in new
raise exc
File "/usr/local/lib/python3.8/enum.py", line 579, in new
result = cls.missing(value)
File "/usr/local/lib/python3.8/enum.py", line 608, in missing
raise ValueError("%r is not a valid %s" % (value, cls.name))
ValueError: 'who-least-did-first' is not a valid AssignmentType
The text was updated successfully, but these errors were encountered: