From 41f38f10991dd50dd82aa74f29214f0da9047739 Mon Sep 17 00:00:00 2001 From: kingy444 Date: Sun, 5 Jun 2022 14:14:04 +1000 Subject: [PATCH] Use constant in powerview diagnostics (#73059) --- .../components/hunterdouglas_powerview/diagnostics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/hunterdouglas_powerview/diagnostics.py b/homeassistant/components/hunterdouglas_powerview/diagnostics.py index 1b2887c3af2..ca6131b2761 100644 --- a/homeassistant/components/hunterdouglas_powerview/diagnostics.py +++ b/homeassistant/components/hunterdouglas_powerview/diagnostics.py @@ -7,7 +7,7 @@ import attr from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry -from homeassistant.const import CONF_HOST +from homeassistant.const import ATTR_CONFIGURATION_URL, CONF_HOST from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import device_registry as dr, entity_registry as er from homeassistant.helpers.device_registry import DeviceEntry @@ -27,7 +27,7 @@ REDACT_CONFIG = { DEVICE_MAC_ADDRESS, DEVICE_SERIAL_NUMBER, PV_HUB_ADDRESS, - "configuration_url", + ATTR_CONFIGURATION_URL, }