Rename misleading check.py local var to deviceId

The device-id flow now carries the UUID assignmentId (as deviceId) end to
end; rename the leftover tconnectDeviceId local in check.py to match. The
deviceId flow is exercised by the existing choose_device, process and
update_profiles tests.
This commit is contained in:
James Woglom
2026-07-01 01:27:09 +00:00
parent b60bfb94ee
commit 27ddf0cb1d
+3 -3
View File
@@ -102,11 +102,11 @@ def check_login(tconnect, time_start, time_end, verbose=False, sanitize=True):
log(f'ChooseDevice selected: {tconnectDevice}')
tconnectDeviceId = tconnectDevice['deviceId']
deviceId = tconnectDevice['deviceId']
log(f'Fetching pump events for {tconnectDeviceId=} {time_start=} {time_end=} fetch_all_event_types=False')
log(f'Fetching pump events for {deviceId=} {time_start=} {time_end=} fetch_all_event_types=False')
events = tconnect.tandemsource.pump_events(tconnectDeviceId, time_start, time_end, fetch_all_event_types=False)
events = tconnect.tandemsource.pump_events(deviceId, time_start, time_end, fetch_all_event_types=False)
events = list(events)
log(f"Found raw events count: {len(events)}")