Skip to content

Commit

Permalink
Merge pull request #143 from puddly/rc
Browse files Browse the repository at this point in the history
0.18.1 Release
  • Loading branch information
puddly authored Jun 23, 2023
2 parents 0736090 + 439ecd2 commit b00c838
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
author_email="[email protected]",
license="GPL-3.0",
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=["zigpy>=0.51.0"],
install_requires=["zigpy>=0.56.0"],
tests_require=["pytest", "asynctest", "pytest-asyncio"],
)
2 changes: 1 addition & 1 deletion zigpy_xbee/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MAJOR_VERSION = 0
MINOR_VERSION = 18
PATCH_VERSION = "0"
PATCH_VERSION = "1"
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__ = f"{__short_version__}.{PATCH_VERSION}"
10 changes: 9 additions & 1 deletion zigpy_xbee/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ async def _move_network_to_channel(
scan_bitmask = 1 << (new_channel - 11)
await self._api._queued_at("SC", scan_bitmask)

async def energy_scan(
self, channels: zigpy.types.Channels, duration_exp: int, count: int
) -> dict[int, float]:
"""Runs an energy detection scan and returns the per-channel scan results."""

LOGGER.warning("Coordinator does not support energy scanning")
return {c: 0 for c in channels}

async def force_remove(self, dev):
"""Forcibly remove device from NCP."""
pass
Expand Down Expand Up @@ -255,7 +263,7 @@ async def send_packet(self, packet: zigpy.types.ZigbeePacket) -> None:
f"Failed to deliver packet: {v!r}", status=v
)

@zigpy.util.retryable_request
@zigpy.util.retryable_request()
def remote_at_command(
self, nwk, cmd_name, *args, apply_changes=True, encryption=True
):
Expand Down

0 comments on commit b00c838

Please sign in to comment.