System Bridge - Add configuration URL (#59320)
This commit is contained in:
parent
296f678d52
commit
875aecd4e2
4 changed files with 5 additions and 3 deletions
|
@ -239,6 +239,7 @@ class SystemBridgeEntity(CoordinatorEntity):
|
|||
bridge: Bridge = coordinator.data
|
||||
self._key = f"{bridge.information.host}_{key}"
|
||||
self._name = f"{bridge.information.host} {name}"
|
||||
self._configuration_url = bridge.get_configuration_url()
|
||||
self._hostname = bridge.information.host
|
||||
self._mac = bridge.information.mac
|
||||
self._manufacturer = bridge.system.system.manufacturer
|
||||
|
@ -263,6 +264,7 @@ class SystemBridgeDeviceEntity(SystemBridgeEntity):
|
|||
def device_info(self) -> DeviceInfo:
|
||||
"""Return device information about this System Bridge instance."""
|
||||
return DeviceInfo(
|
||||
configuration_url=self._configuration_url,
|
||||
connections={(dr.CONNECTION_NETWORK_MAC, self._mac)},
|
||||
manufacturer=self._manufacturer,
|
||||
model=self._model,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "System Bridge",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/system_bridge",
|
||||
"requirements": ["systembridge==2.2.1"],
|
||||
"requirements": ["systembridge==2.2.3"],
|
||||
"codeowners": ["@timmo001"],
|
||||
"zeroconf": ["_system-bridge._udp.local."],
|
||||
"after_dependencies": ["zeroconf"],
|
||||
|
|
|
@ -2269,7 +2269,7 @@ swisshydrodata==0.1.0
|
|||
synology-srm==0.2.0
|
||||
|
||||
# homeassistant.components.system_bridge
|
||||
systembridge==2.2.1
|
||||
systembridge==2.2.3
|
||||
|
||||
# homeassistant.components.tahoma
|
||||
tahoma-api==0.0.16
|
||||
|
|
|
@ -1330,7 +1330,7 @@ sunwatcher==0.2.1
|
|||
surepy==0.7.2
|
||||
|
||||
# homeassistant.components.system_bridge
|
||||
systembridge==2.2.1
|
||||
systembridge==2.2.3
|
||||
|
||||
# homeassistant.components.tellduslive
|
||||
tellduslive==0.10.11
|
||||
|
|
Loading…
Add table
Reference in a new issue