Skip to content

Conversation

@allenporter
Copy link
Contributor

Add home API data including products devices, rooms, etc and increase the number of redacted fields. Add a device manager snapshot test to verify which fields are redacted.

@allenporter allenporter requested a review from Lash-L December 30, 2025 03:35
@allenporter allenporter changed the title chore: Add additional Home data do diagnostics chore: Add additional Home data to diagnostics Dec 30, 2025
Add home API data including products devices, rooms, etc and
increase the number of redacted fields. Add a device manager
snapshot test to verify which fields are redacted.
@allenporter allenporter marked this pull request as draft December 30, 2025 15:41
@allenporter allenporter marked this pull request as ready for review December 30, 2025 16:08
"""Return diagnostics information about the device manager."""
return self._diagnostics.as_dict()
return {
"home_data": redact_device_data(asdict(self._home_data) if self._home_data else {}),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is using our as_dict() functionality better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants