Skip to content

Commit

Permalink
Merge pull request #153 from dougiteixeira/fix-diagnositics
Browse files Browse the repository at this point in the history
Fix timestamp in the diagnostics file.
  • Loading branch information
dougiteixeira authored Nov 10, 2023
2 parents 6c38889 + 5b946f5 commit 5442587
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/proxmoxve/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ async def async_get_config_entry_diagnostics(
devices.append({"device": asdict(device), "entities": entities})

return {
"source": "config_entry",
"timestamp": datetime.datetime.now,
"timestamp": datetime.datetime.now(),
"config_entry": async_redact_data(config_entry.data, TO_REDACT_CONFIG),
"options": async_redact_data(config_entry.options, TO_REDACT_CONFIG),
"devices": async_redact_data(devices, TO_REDACT_DATA),
Expand Down

0 comments on commit 5442587

Please sign in to comment.