python-kasa/kasa/exceptions.py
sdb9696 6055c29d74
Add support for alternative discovery protocol (20002/udp) (#488)
This will broadcast the new discovery message on the new port and log any responses received as unsupported devices.
2023-08-29 15:04:28 +02:00

10 lines
239 B
Python

"""python-kasa exceptions."""
class SmartDeviceException(Exception):
"""Base exception for device errors."""
class UnsupportedDeviceException(SmartDeviceException):
"""Exception for trying to connect to unsupported devices."""