Skip to content

Commit

Permalink
Correctly recurse extractDataPoints() for nested devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdolghier committed Dec 23, 2023
1 parent c40f098 commit a910f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vuegraf/vuegraf.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def extractDataPoints(device, usageDataPoints, pointType=None, historyStartTime=
for chanNum, chan in device.channels.items():
if chan.nested_devices:
for gid, nestedDevice in chan.nested_devices.items():
extractDataPoints(nestedDevice, usageDataPoints, historyStartTime, historyEndTime)
extractDataPoints(nestedDevice, usageDataPoints, pointType, historyStartTime, historyEndTime)

chanName = lookupChannelName(account, chan)

Expand Down

0 comments on commit a910f55

Please sign in to comment.