Still busted for me. I’ve removed .home.state, I’ve pulled the pincode out of my yaml, I’ve removed the Bridge from Home app in iOS. It’s – as far as I can tell – back to square one, but every time I start v. 0.66 up, I get an error:
Error during setup of component homekit
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py”, line 142, in _async_setup_component
result = await component.async_setup(hass, processed_config)
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/homekit/init.py”, line 55, in async_setup
homekit.setup()
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/homekit/init.py”, line 157, in setup
from .accessories import HomeBridge, HomeDriver
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/homekit/accessories.py”, line 5, in
from pyhap.accessory_driver import AccessoryDriver
File “/srv/homeassistant/lib/python3.6/site-packages/pyhap/accessory_driver.py”, line 41, in
from pyhap.hap_server import HAPServer
File “/srv/homeassistant/lib/python3.6/site-packages/pyhap/hap_server.py”, line 18, in
from tlslite.utils.chacha20_poly1305 import CHACHA20_POLY1305
File “/srv/homeassistant/lib/python3.6/site-packages/tlslite/init.py”, line 27, in
from tlslite.api import *
File “/srv/homeassistant/lib/python3.6/site-packages/tlslite/api.py”, line 7, in
from .checker import Checker
File “/srv/homeassistant/lib/python3.6/site-packages/tlslite/checker.py”, line 6, in
from .x509 import X509
File “/srv/homeassistant/lib/python3.6/site-packages/tlslite/x509.py”, line 10, in
from .utils.cryptomath import *
File “/srv/homeassistant/lib/python3.6/site-packages/tlslite/utils/cryptomath.py”, line 50, in
import Crypto.Cipher.AES
File “/srv/homeassistant/lib/python3.6/site-packages/Crypto/Cipher/init.py”, line 83, in
from Crypto.Cipher._mode_openpgp import _create_openpgp_cipher
File “/srv/homeassistant/lib/python3.6/site-packages/Crypto/Cipher/_mode_openpgp.py”, line 39, in
from Crypto.Util.number import long_to_bytes, bytes_to_long
File “”, line 961, in _find_and_load
File “”, line 950, in _find_and_load_unlocked
File “”, line 655, in _load_unlocked
File “”, line 674, in exec_module
File “”, line 779, in get_code
File “”, line 487, in _compile_bytecode
ValueError: bad marshal data (invalid reference)
Any clues?