python-kasa/kasa
Teemu R 5dafc1d1ed
Cleanup custom exception kwarg handling (#602)
* Cleanup custom exceptions

* Read custom keyword arguments from kwargs
* Pass all input args to the super

Earlier behavior:
Got error: AuthenticationException((('Error logging in: 192.168.xx.xx: LOGIN_ERROR(-1501)',), <SmartErrorCode.LOGIN_ERROR: -1501>))

New behavior:
Got error: AuthenticationException('Error logging in: 192.168.xx.xx: LOGIN_ERROR(-1501)')

* Pass UnsupportedDeviceException kwargs to parent, too
2024-01-02 16:24:09 +01:00
..
modules Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
tapo Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
tests Update P110(UK) fixture (#596) 2023-12-31 15:36:15 +01:00
__init__.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
aestransport.py Fix dump_devinfo for unauthenticated (#593) 2023-12-29 20:42:02 +01:00
cli.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
credentials.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
device_factory.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
device_type.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
deviceconfig.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
discover.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
effects.py Add effect support for light strips (#293) 2022-03-21 22:10:12 +01:00
emeterstatus.py Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
exceptions.py Cleanup custom exception kwarg handling (#602) 2024-01-02 16:24:09 +01:00
iotprotocol.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
json.py Use orjson when already installed or with speedups extra (#466) 2023-06-18 01:03:04 +02:00
klaptransport.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
protocol.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartbulb.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartdevice.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartdimmer.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartlightstrip.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartplug.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartprotocol.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartstrip.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00