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
Error occurred when setting up the integration during HA Core version 2021.10.6 starts.
2021-10-21 21:14:37 ERROR (MainThread) [custom_components.sureha] Unexpected error fetching sureha_sensors data: object of type 'int' 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 "/config/custom_components/sureha/init.py", line 98, in async_update_data
return await spc.surepy.get_entities(refresh=True)
File "/usr/local/lib/python3.9/site-packages/surepy/init.py", line 391, in get_entities
await self.get_latest_anonymous_drinks(household_id=household_id)
File "/usr/local/lib/python3.9/site-packages/surepy/init.py", line 216, in get_latest_anonymous_drinks
household_timeline = await self.get_household_timeline(household_id, entries=50)
File "/usr/local/lib/python3.9/site-packages/surepy/init.py", line 266, in get_household_timeline
if timeline := await self.sac.call(method="GET", resource=resource):
File "/usr/local/lib/python3.9/site-packages/surepy/client.py", line 281, in call
responselen = len(response_data.get("data", 0))
TypeError: object of type 'int' has no len()
I just had the feeder connect and Felaqua setup and may not have data in the account.
thanks in advance.
The text was updated successfully, but these errors were encountered:
Error occurred when setting up the integration during HA Core version 2021.10.6 starts.
2021-10-21 21:14:37 ERROR (MainThread) [custom_components.sureha] Unexpected error fetching sureha_sensors data: object of type 'int' 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 "/config/custom_components/sureha/init.py", line 98, in async_update_data
return await spc.surepy.get_entities(refresh=True)
File "/usr/local/lib/python3.9/site-packages/surepy/init.py", line 391, in get_entities
await self.get_latest_anonymous_drinks(household_id=household_id)
File "/usr/local/lib/python3.9/site-packages/surepy/init.py", line 216, in get_latest_anonymous_drinks
household_timeline = await self.get_household_timeline(household_id, entries=50)
File "/usr/local/lib/python3.9/site-packages/surepy/init.py", line 266, in get_household_timeline
if timeline := await self.sac.call(method="GET", resource=resource):
File "/usr/local/lib/python3.9/site-packages/surepy/client.py", line 281, in call
responselen = len(response_data.get("data", 0))
TypeError: object of type 'int' has no len()
I just had the feeder connect and Felaqua setup and may not have data in the account.
thanks in advance.
The text was updated successfully, but these errors were encountered: