Xeoma camera not working since 0.65

Getting the following error. This is in Hassio 0.65.5

2018-03-21 14:02:39 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform xeoma
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/asyncio/tasks.py”, line 180, in _step
result = coro.send(None)
File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/xeoma.py”, line 56, in async_setup_platform
yield from xeoma.async_test_connection()
File “/usr/lib/python3.6/site-packages/pyxeoma/xeoma.py”, line 30, in async_test_connection
with aiohttp.ClientSession() as session:
File “/usr/lib/python3.6/site-packages/aiohttp/client.py”, line 742, in enter
raise TypeError(“Use async with instead”)
TypeError: Use async with instead

I’m getting exactly the same error too in version 0.65.4 :frowning:

@mezza, I updated to 0.66 beta and to the latest 0.66 release and Xeoma is working again.

1 Like

Hi Thanks for that, upgrading worked for me too !!