Wed Feb 05 2020 12:53:44 GMT+0100 (Central European Standard Time)
Error during setup of component ziggonext
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 174, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/ziggonext/init.py”, line 30, in setup
api.initialize(_LOGGER)
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 122, in initialize
self.get_session_and_token()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 87, in get_session_and_token
self.get_session()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 69, in get_session
if status[0][‘code’] == ‘invalidCredentials’:
KeyError: 0
OK, it’s hard for me to find out what the response is, since i don’t have the credentials for a Belgium account. Can you find out what the response is by turning on debug logging?
I’ve installed the ZeggoNEXT plugin using HACS on mij HASS.io and added this to config:
ziggonext:
username: !secret ziggo_username
password: !secret ziggo_password
But when i go to configuration - entities it says that the ZiggoNext entitie is unavailable. What do i do wrong
this is the only debug i got on the custom component.
The error remains the same:
2020-02-11 15:25:29 ERROR (MainThread) [homeassistant.setup] Error during setup of component ziggonext
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 174, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/ziggonext/init.py”, line 30, in setup
api.initialize(_LOGGER)
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 122, in initialize
self.get_session_and_token()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 87, in get_session_and_token
self.get_session()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 69, in get_session
if status[0][‘code’] == ‘invalidCredentials’:
KeyError: 0