Skip to content

Commit

Permalink
duration -> duration_exp
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Aug 19, 2024
1 parent d97058f commit 04550f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bellows/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ async def energy_scan(
}

async def network_scan(
self, channels: t.Channels, duration: int
self, channels: t.Channels, duration_exp: int
) -> AsyncGenerator[zigpy.types.NetworkBeacon]:
"""Scans for networks and yields network beacons."""
queue = asyncio.Queue()

Check warning on line 706 in bellows/zigbee/application.py

View check run for this annotation

Codecov / codecov/patch

bellows/zigbee/application.py#L706

Added line #L706 was not covered by tests
Expand All @@ -714,7 +714,7 @@ async def network_scan(
"startScan",
scanType=t.EzspNetworkScanType.ACTIVE_SCAN,
channelMask=channels,
duration=duration,
duration=duration_exp,
)

while True:
Expand Down

0 comments on commit 04550f1

Please sign in to comment.