Skip to content

Commit

Permalink
Merge pull request #140 from cdolghier/correct_recurse_nested_devices
Browse files Browse the repository at this point in the history
Correctly recurse extractDataPoints() for nested devices.
  • Loading branch information
jertel authored Dec 24, 2023
2 parents c40f098 + a910f55 commit d733319
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 d733319

Please sign in to comment.