ble - testing without discovery 2
This commit is contained in:
1 parent
0480a76c71
commit
4ef2d7c2af
1 file changed
+1
-1
+1
-1
@@ -193,7 +193,7 @@ async def read_data(mac: str) -> Optional[SensorReading]:
|
|||||||
#
|
#
|
||||||
# if not address:
|
# if not address:
|
||||||
# return None
|
# return None
|
||||||
|
address = mac
|
||||||
try:
|
try:
|
||||||
async with BleakClient(address, timeout=CONNECT_TIMEOUT) as client:
|
async with BleakClient(address, timeout=CONNECT_TIMEOUT) as client:
|
||||||
# NEW BLOCK ----------------------------------------------
|
# NEW BLOCK ----------------------------------------------
|
||||||
|
|||||||
Reference in new issue
Block a user