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"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue