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
1 changed files with 2 additions and 2 deletions
|
@ -129,10 +129,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
config_entry_id=entry.entry_id,
|
||||
identifiers={(DOMAIN, gateway.id)},
|
||||
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,
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue