Skip to content

Commit

Permalink
Update bluetooth.py (#97)
Browse files Browse the repository at this point in the history
Add alias Y7S , alias of older pinetime
  • Loading branch information
akademsubotnik committed Dec 23, 2021
1 parent 8e2691e commit 947d546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bluetooth.py
Expand Up @@ -94,7 +94,7 @@ def set_timeout(self, timeout):
GObject.timeout_add(timeout, self.stop)

def device_discovered(self, device):
for prefix in ["InfiniTime", "Pinetime-JF", "PineTime"]:
for prefix in ["InfiniTime", "Pinetime-JF", "PineTime", "Y7S"]:
if device.alias().startswith(prefix):
self.scan_result = True
self.aliases[device.mac_address] = device.alias()
Expand Down

0 comments on commit 947d546

Please sign in to comment.