mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Retrieve manufacturer and configuration_url from client in Overkiz integration (#103585)
Retrieve manufacturer and configuration_url from client
This commit is contained in:
parent
b233d248ff
commit
76b322c6b3
@ -129,10 +129,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
config_entry_id=entry.entry_id,
|
config_entry_id=entry.entry_id,
|
||||||
identifiers={(DOMAIN, gateway.id)},
|
identifiers={(DOMAIN, gateway.id)},
|
||||||
model=gateway.sub_type.beautify_name if gateway.sub_type else None,
|
model=gateway.sub_type.beautify_name if gateway.sub_type else None,
|
||||||
manufacturer=server.manufacturer,
|
manufacturer=client.server.manufacturer,
|
||||||
name=gateway.type.beautify_name if gateway.type else gateway.id,
|
name=gateway.type.beautify_name if gateway.type else gateway.id,
|
||||||
sw_version=gateway.connectivity.protocol_version,
|
sw_version=gateway.connectivity.protocol_version,
|
||||||
configuration_url=server.configuration_url,
|
configuration_url=client.server.configuration_url,
|
||||||
)
|
)
|
||||||
|
|
||||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user