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
*Unexpected error fetching smarttub data: object of type 'NoneType' has no len()
Logger: homeassistant.components.smarttub.controller
Source: components/smarttub/controller.py:98
Integration: SmartTub (documentation, issues)
First occurred: 10:51:14 AM (123 occurrences)
Last logged: 12:56:35 PM
Unexpected error fetching smarttub data: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/smarttub/controller.py", line 90, in async_update_data
data[spa.id] = await self._get_spa_data(spa)
File "/usr/src/homeassistant/homeassistant/components/smarttub/controller.py", line 98, in _get_spa_data
full_status, reminders, errors = await asyncio.gather(
File "/usr/local/lib/python3.9/site-packages/smarttub/api.py", line 206, in get_reminders
return [
File "/usr/local/lib/python3.9/site-packages/smarttub/api.py", line 207, in
SpaReminder(self, **reminder_info)
File "/usr/local/lib/python3.9/site-packages/smarttub/api.py", line 469, in init
self.last_updated = dateutil.parser.isoparse(properties["lastUpdated"])
File "/usr/local/lib/python3.9/site-packages/dateutil/parser/isoparser.py", line 37, in func
return f(self, str_in, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/dateutil/parser/isoparser.py", line 134, in isoparse
components, pos = self._parse_isodate(dt_str)
File "/usr/local/lib/python3.9/site-packages/dateutil/parser/isoparser.py", line 208, in _parse_isodate
return self._parse_isodate_common(dt_str)
File "/usr/local/lib/python3.9/site-packages/dateutil/parser/isoparser.py", line 213, in _parse_isodate_common
len_str = len(dt_str)
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered:
Originally reported by @gdeuss via home-assistant/home-assistant.io#20896
The text was updated successfully, but these errors were encountered: