I am trying to install component HomeKit controller support. Everything seams to work, discovery:
dose it thing and I get a message in UI to add HomeKit PIN, but when I do that I get an error “Fail to call service configureator/configure. List index out of range”’
Anyone know what causing this?
This is what the log says
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 148, in handle_call_service
connection.context(msg))
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1133, in async_call
self._execute_service(handler, service_call))
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1155, in _execute_service
await handler.func(service_call)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/configurator/__init__.py", line 221, in async_handle_service_call
call.data.get(ATTR_FIELDS, {}))
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/homekit_controller/__init__.py", line 136, in device_config_callback
self.controller.perform_pairing(self.hkid, self.hkid, code)
File "/usr/local/lib/python3.7/site-packages/homekit/controller.py", line 192, in perform_pairing
pairing = perform_pair_setup(conn, pin, str(uuid.uuid4()))
File "/usr/local/lib/python3.7/site-packages/homekit/protocol/__init__.py", line 91, in perform_pair_setup
assert response_tlv[0][0] == TLV.kTLVType_State and response_tlv[0][1] == TLV.M2, 'perform_pair_setup: State not M2'
IndexError: list index out of range