Hoping somone might be able to point me in the correct direction as to why i cant get this working.
First error is
Logger: homeassistant.util.async_
Source: util/async_.py:129
First occurred: 19:51:21 (1 occurrences)
Last logged: 19:51:21
Detected I/O inside the event loop. This is causing stability issues. Please report issue for surepetcare doing I/O at homeassistant/components/surepetcare/__init__.py, line 114: device_data = await surepy.device(device[CONF_ID])
Followed by
Logger: homeassistant.setup
Source: /usr/local/lib/python3.8/asyncio/events.py:81
First occurred: 19:51:31 (1 occurrences)
Last logged: 19:51:31
Setup of surepetcare is taking over 10 seconds.
And finally
Logger: homeassistant.setup
Source: components/surepetcare/__init__.py:114
First occurred: 19:51:37 (1 occurrences)
Last logged: 19:51:37
Error during setup of component surepetcare
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/surepy/__init__.py", line 278, in _get_resource
response: aiohttp.ClientResponse = await self._session.get(resource, headers=headers, timeout=timeout)
File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 544, in _request
await resp.start(conn)
File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 890, in start
message, payload = await self._protocol.read() # type: ignore
File "/usr/local/lib/python3.8/site-packages/aiohttp/streams.py", line 604, in read
await self._waiter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/surepy/__init__.py", line 280, in _get_resource
logger.debug("response.status: %d", response.status)
File "/usr/local/lib/python3.8/site-packages/async_timeout/__init__.py", line 45, in __exit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.8/site-packages/async_timeout/__init__.py", line 92, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/surepetcare/__init__.py", line 114, in async_setup
device_data = await surepy.device(device[CONF_ID])
File "/usr/local/lib/python3.8/site-packages/surepy/__init__.py", line 184, in device
device: Dict[str, Any] = (await self.devices).get(device_id, {})
File "/usr/local/lib/python3.8/site-packages/surepy/__init__.py", line 181, in devices
return await self.get_entities("devices")
File "/usr/local/lib/python3.8/site-packages/surepy/__init__.py", line 244, in get_entities
await self._get_resource(resource=MESTART_RESOURCE)
File "/usr/local/lib/python3.8/site-packages/surepy/__init__.py", line 311, in _get_resource
raise SurePetcareConnectionError()
surepy.SurePetcareConnectionError