Skip to content

Commit 283df06

Browse files
Add files via upload
1 parent ab01e16 commit 283df06

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
}
9393
},
9494
"short_name": "Bluetooth",
95-
"version": "0.5.13",
95+
"version": "0.5.14",
9696
"web_accessible_resources": [
9797
"css/*.css",
9898
"images/*.svg",

scanner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ def device_found(device: BLEDevice, advertisement_data: AdvertisementData):
135135

136136
async def main():
137137
"""Scan for devices."""
138-
scanner = BleakScanner()
139-
scanner.register_detection_callback(device_found)
138+
scanner = BleakScanner(detection_callback=device_found)
139+
#scanner.register_detection_callback(device_found)
140140

141141
#while True:
142142
# print("boop")

0 commit comments

Comments
 (0)