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

This commit is contained in:
Franck Nijhof
2026-09-18 10:27:58 +00:00
parent 41cfabd8ef
commit 258fb3e117
@@ -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,
)