Redact the AirVisual API key in debug logging (#182280)

This commit is contained in:
Franck Nijhof
2026-09-15 16:57:21 +02:00
committed by GitHub
parent 02e719292d
commit 71c5b0e700
@@ -26,6 +26,7 @@ from homeassistant.helpers import (
entity_registry as er,
)
from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue
from homeassistant.helpers.redact import partial_redact
from .const import (
CONF_CITY,
@@ -63,7 +64,7 @@ def async_get_cloud_api_update_interval(
LOGGER.debug(
"Leveling API key usage (%s): %s consumers, %s minutes between updates",
api_key,
partial_redact(api_key),
num_consumers,
minutes_between_api_calls,
)