python-zeroconf
python-zeroconf copied to clipboard
AssertionError in _services/info.py
trafficstars
I'm not sure what's going on but with both v13 and v14 of pychromecast, there are some serious degradations with the use of pyzeroconf.
https://github.com/home-assistant-libs/pychromecast/issues/866 https://github.com/home-assistant-libs/pychromecast/issues/897
I suggest that the assert zc.loop is not None and zc.loop.is_running() be split into two assertions since the exception does not specify which of the two conditionals failed the assertion.