I have a running SPC Web Gateway that works but when adding the spc section as described here https://www.home-assistant.io/components/spc/ to /config/configuration.yaml i get the following error when restarting Haas.io.
Invalid Config
The following components and platforms could not be set up:
spc
hassio
Please check your config.
Log Details (ERROR)
Mon Apr 30 2018 19:00:50 GMT+0200 (CEST)
Error during setup of component spc
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/setup.py”, line 142, in _async_setup_component
result = await component.async_setup(hass, processed_config)
File “/usr/lib/python3.6/site-packages/homeassistant/components/spc.py”, line 64, in async_setup
areas = yield from api.get_areas()
File “/usr/lib/python3.6/site-packages/homeassistant/components/spc.py”, line 180, in get_areas
return (yield from self._get_data(‘area’))
File “/usr/lib/python3.6/site-packages/homeassistant/components/spc.py”, line 200, in _get_data
data = yield from self._call_web_gateway(resource)
File “/usr/lib/python3.6/site-packages/homeassistant/components/spc.py”, line 221, in _call_web_gateway
response = yield from action(url)
File “/usr/lib/python3.6/site-packages/aiohttp/client.py”, line 208, in _request
raise RuntimeError(‘Session is closed’)
RuntimeError: Session is closed
Can anyone help?
/Thomas