__init__.py 584 B

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