mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Add explicit branching in AirVisual diagnostics (#64493)
This commit is contained in:
parent
8b3fe0a2d9
commit
917b84f4d9
@ -31,7 +31,7 @@ def _async_redact_data(data: MappingProxyType | dict) -> dict[str, Any]:
|
||||
CONF_STATE,
|
||||
):
|
||||
redacted[key] = REDACTED
|
||||
if isinstance(value, dict):
|
||||
elif isinstance(value, dict):
|
||||
redacted[key] = _async_redact_data(value)
|
||||
|
||||
return redacted
|
||||
|
Loading…
x
Reference in New Issue
Block a user