petretiandrea / plugp100

Work in progress implementation of tapo protocol in python.
GNU General Public License v3.0
72 stars 27 forks source link

TypeError: super() argument 1 must be type, not str #192

Open minimada opened 5 months ago

minimada commented 5 months ago

I expect raise InvalidAuthentication in authentication fail case, but get TypeError :

TypeError: descriptor '__init__' requires a 'super' object but received a 'str'

Use super().init(f"Invalid authentication error for ${host}, ${device_type}") may fix this. And then see Unclosed client session errors after that.

Env: Python 3.10 plugp100: 5.1.3