Skip to content

Commit

Permalink
Diag bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed May 17, 2024
1 parent 510a4d3 commit 8e10747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/teslemetry/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def async_get_config_entry_diagnostics(
"live": async_redact_data(x.live_coordinator.data, ENERGY_LIVE_REDACT),
"info": async_redact_data(x.info_coordinator.data, ENERGY_INFO_REDACT),
}
for x in data.energysites
for x in entry.runtime_data.energysites
]

# Return only the relevant children
Expand Down

0 comments on commit 8e10747

Please sign in to comment.