-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Zeroconf versions greater 0.32.1 switched to async handling:
tests/controller_test.py::TestControllerIpUnpaired::test_01_1_discover
/home/jlusiardi/Documents/src/homekit_python_kvaellning/venv/lib/python3.9/site-packages/_pytest/threadexception.py:75: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-2
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/home/jlusiardi/Documents/src/homekit_python_kvaellning/tests/controller_test.py", line 45, in run
self.a_s.publish_device()
File "/home/jlusiardi/Documents/src/homekit_python_kvaellning/homekit/accessoryserver.py", line 1347, in publish_device
self.zeroconf.check_service(self.zeroconf_info, allow_name_change=False)
AttributeError: 'Zeroconf' object has no attribute 'check_service'
Try to update zeroconf and rewrite stuff to be asyncio compatible.
drinking-code
Metadata
Metadata
Assignees
Labels
No labels