mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Add configuration_url to syncthru devices (#61508)
This commit is contained in:
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…
x
Reference in New Issue
Block a user