SNMP module seams to be broken

Hey all,

Thanks for providing such a great bit of software ive been using it for years now!

Ive just upgraded my enviorment to Python 3.10.2 and it seams the SNMP is now broken. It worked fine on 3.8.5 which is what i was using before the upgrade. Im running the latest version of hass also.

Here is the error which is showing in the logs :

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.10/site-packages/pysnmp/carrier/asyncio/dgram/base.py”, line 93, in openClientMode
self._lport = getattr(asyncio, ‘async’)(c)
AttributeError: module ‘asyncio’ has no attribute ‘async’

Any ideas?

Thanks again

Stewart

pysnmp seems to be outdated… github.com/etingof/pysnmp/issues/416

after using fork from: github.com/pysnmp/pysnmp the brother intigration works form…

pip uninstall pysnmp
pip uninstall pysnmp-pyasn1
pip uninstall pysnmp-pysmi
pip install git+https://github.com/pysnmp/pysnmp.git#egg=pysnmp