Skip to content
Merged
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
6 changes: 3 additions & 3 deletions TheengsGateway/ble_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,6 @@ async def ble_scan_loop(self) -> None:
self.published_messages,
)

# Check tracker timeouts
self.check_tracker_timeout()

await asyncio.sleep(
self.configuration["ble_time_between_scans"],
)
Expand All @@ -484,6 +481,9 @@ async def ble_scan_loop(self) -> None:
else:
await asyncio.sleep(5.0)

# Check tracker timeouts
self.check_tracker_timeout()

logger.error("BLE scan loop stopped")

def detection_callback(
Expand Down