Skip to content

Commit a050c0c

Browse files
Add configuration_url to iometer (#155429)
Co-authored-by: Josef Zweck <josef@zweck.dev>
1 parent 0c12146 commit a050c0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

homeassistant/components/iometer/entity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Base class for IOmeter entities."""
22

3+
from homeassistant.const import CONF_HOST
34
from homeassistant.helpers.device_registry import DeviceInfo
45
from homeassistant.helpers.update_coordinator import CoordinatorEntity
56

@@ -21,4 +22,5 @@ def __init__(self, coordinator: IOMeterCoordinator) -> None:
2122
manufacturer="IOmeter GmbH",
2223
model="IOmeter",
2324
sw_version=coordinator.current_fw_version,
25+
configuration_url=f"http://{coordinator.config_entry.data[CONF_HOST]}/",
2426
)

0 commit comments

Comments
 (0)