Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name="PySwitchbot",
packages=["switchbot", "switchbot.devices", "switchbot.adv_parsers"],
install_requires=["async_timeout>=4.0.1", "bleak", "bleak-retry-connector>=1.12.2"],
install_requires=["async_timeout>=4.0.1", "bleak", "bleak-retry-connector>=1.13.0"],
version="0.19.2",
description="A library to communicate with Switchbot",
author="Daniel Hjelseth Hoyer",
Expand Down
3 changes: 2 additions & 1 deletion switchbot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Library to handle connection with Switchbot."""
from __future__ import annotations

from bleak_retry_connector import get_device
from bleak_retry_connector import get_device, close_stale_connections

from .adv_parser import SwitchbotSupportedType, parse_advertisement_data
from .const import SwitchbotModel
Expand All @@ -19,6 +19,7 @@

__all__ = [
"get_device",
"close_stale_connections",
"parse_advertisement_data",
"GetSwitchbotDevices",
"SwitchBotAdvertisement",
Expand Down