python-kasa/kasa
Steven B 8c39e81a40
Rename and deprecate exception classes (#739)
# Public #
SmartDeviceException -> KasaException
UnsupportedDeviceException(SmartDeviceException) -> UnsupportedDeviceError(KasaException)
TimeoutException(SmartDeviceException, asyncio.TimeoutError) -> TimeoutError(KasaException, asyncio.TimeoutError)

Add new exception for error codes -> DeviceError(KasaException)
AuthenticationException(SmartDeviceException) -> AuthenticationError(DeviceError)

# Internal #
RetryableException(SmartDeviceException) -> _RetryableError(DeviceError)
ConnectionException(SmartDeviceException) -> _ConnectionError(KasaException)
2024-02-21 16:52:55 +01:00
..
iot Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
smart Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
tests Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
__init__.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
aestransport.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
bulb.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
cli.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
credentials.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
device_factory.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
device_type.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
device.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
deviceconfig.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
discover.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
effects.py Add effect support for light strips (#293) 2022-03-21 22:10:12 +01:00
emeterstatus.py Avoid crashing on childdevice property accesses (#732) 2024-02-02 17:29:14 +01:00
exceptions.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
feature.py Auto auto-off module for smartdevice (#760) 2024-02-19 21:11:11 +01:00
httpclient.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
iotprotocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
json.py Generate AES KeyPair lazily (#687) 2024-01-23 15:29:27 +00:00
klaptransport.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
module.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
plug.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
protocol.py Use hashlib in place of hashes.Hash (#714) 2024-01-26 06:57:56 -10:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartprotocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
xortransport.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00