__init__.py 694 B

1234567891011121314151617181920212223
  1. """Library to handle connection with Switchbot."""
  2. from __future__ import annotations
  3. from .adv_parser import SwitchbotSupportedType, parse_advertisement_data
  4. from .const import SwitchbotModel
  5. from .devices.bot import Switchbot
  6. from .devices.curtain import SwitchbotCurtain
  7. from .devices.device import SwitchbotDevice
  8. from .devices.plug import SwitchbotPlugMini
  9. from .discovery import GetSwitchbotDevices
  10. from .models import SwitchBotAdvertisement
  11. __all__ = [
  12. "parse_advertisement_data",
  13. "GetSwitchbotDevices",
  14. "SwitchBotAdvertisement",
  15. "SwitchbotDevice",
  16. "SwitchbotCurtain",
  17. "Switchbot",
  18. "SwitchbotPlugMini",
  19. "SwitchbotSupportedType",
  20. "SwitchbotModel",
  21. ]