Issue with huawei_router.py

Hi,

I am trying to setup router based device tracking. I have a Huawei HG659 router that I am trying to use with Home Assistant. I receive the following error when HA tries to access the router.


cnt_str = str(cnt.content, cnt.apparent_encoding, errors='replace')

TypeError: str() argument 2 must be str, not None`

When I SSH to the Raspberry Pi, I am unable to find the /usr/lib/python3.6 folder. If I search for huawei_router.py, I can’t find it.

Can someone help with the location of the file so I can get this to work.

Many Thanks

Mark