From 19fc65c2fef9fed99d7c62c2ff0640931de3407a Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 17 Nov 2026 08:01:12 +0100 Subject: [PATCH] Remove redundant config entry check in Plugwise entity (#193036) --- homeassistant/components/plugwise/entity.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/plugwise/entity.py b/homeassistant/components/plugwise/entity.py index 0b859c756d2d..f9a4a9c80e1d 100644 --- a/homeassistant/components/plugwise/entity.py +++ b/homeassistant/components/plugwise/entity.py @@ -37,9 +37,7 @@ class PlugwiseEntity(CoordinatorEntity[PlugwiseDataUpdateCoordinator]): # Link configuration-URL for the gateway device configuration_url = ( - f"http://{entry.data[CONF_HOST]}" - if device_id == gateway_id and entry - else None + f"http://{entry.data[CONF_HOST]}" if device_id == gateway_id else None ) # Build connections set