Переглянути джерело

Add SwitchbotApiError to __all__

J. Nick Koston 10 місяців тому
батько
коміт
e1bb64a053
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      switchbot/__init__.py

+ 2 - 0
switchbot/__init__.py

@@ -11,6 +11,7 @@ from .adv_parser import SwitchbotSupportedType, parse_advertisement_data
 from .const import (
 from .const import (
     LockStatus,
     LockStatus,
     SwitchbotAccountConnectionError,
     SwitchbotAccountConnectionError,
+    SwitchbotApiError,
     SwitchbotAuthenticationError,
     SwitchbotAuthenticationError,
     SwitchbotModel,
     SwitchbotModel,
 )
 )
@@ -36,6 +37,7 @@ __all__ = [
     "GetSwitchbotDevices",
     "GetSwitchbotDevices",
     "SwitchBotAdvertisement",
     "SwitchBotAdvertisement",
     "SwitchbotAccountConnectionError",
     "SwitchbotAccountConnectionError",
+    "SwitchbotApiError",
     "SwitchbotAuthenticationError",
     "SwitchbotAuthenticationError",
     "ColorMode",
     "ColorMode",
     "LockStatus",
     "LockStatus",