mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 15:45:08 +02:00
Add explicit branching in AirVisual diagnostics (#64493)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user