mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Remove redundant config entry check in Plugwise entity (#193036)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user