Hi! I try to geht the Velux component on HassIO to work. I’ve configured the Velux KLF200 and it works at its own as it should. But the Velux Component reports an error. I have not changed the default password of the KLF200 and I am sure that I’ve configured the component properly. Any idea how to fix this?
2017-10-18 19:42:20 ERROR (MainThread) [homeassistant.components.velux] Can't connect to velux interface: Invalid Token
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/components/velux.py", line 37, in async_setup
yield from hass.data[DATA_VELUX].async_start()
File "/usr/lib/python3.6/site-packages/homeassistant/components/velux.py", line 66, in async_start
yield from self.pyvlx.load_scenes()
File "/usr/lib/python3.6/site-packages/pyvlx/pyvlx.py", line 24, in load_scenes
await self.scenes.load()
File "/usr/lib/python3.6/site-packages/pyvlx/scenes.py", line 37, in load
json_response = await self.pyvlx.interface.api_call('scenes', 'get')
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 17, in api_call
await self.refresh_token()
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 62, in refresh_token
json_response = await self.api_call('auth', 'login', {'password': self.config.password}, add_authorization_token=False)
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 20, in api_call
return await self.api_call_impl(verb, action, params, add_authorization_token)
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 34, in api_call_impl
return await self.do_http_request(url, body, headers)
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 39, in do_http_request
return await self.do_http_request_impl(url, body, headers)
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 56, in do_http_request_impl
self.evaluate_response(json_response)
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 94, in evaluate_response
Interface.evaluate_errors(json_response)
File "/usr/lib/python3.6/site-packages/pyvlx/interface.py", line 112, in evaluate_errors
raise InvalidToken(first_error)
pyvlx.exception.InvalidToken: Invalid Token
2017-10-18 19:42:20 ERROR (MainThread) [homeassistant.setup] Setup failed for velux: Component failed to initialize.