Add configuration_url to syncthru devices (#61508)
parent
cd5fe11b44
commit
8ba07a8288
|
@ -67,6 +67,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
device_registry = dr.async_get(hass)
|
||||
device_registry.async_get_or_create(
|
||||
config_entry_id=entry.entry_id,
|
||||
configuration_url=printer.url,
|
||||
connections=device_connections(printer),
|
||||
identifiers=device_identifiers(printer),
|
||||
model=printer.model(),
|
||||
|
|
Loading…
Reference in New Issue