Remove redundant config entry check in Plugwise entity (#193036)

This commit is contained in:
epenet
2026-11-17 08:01:12 +01:00
committed by GitHub
parent 31a2de17cb
commit 19fc65c2fe
+1 -3
View File
@@ -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