Add serial number to Brother (#102523)

This commit is contained in:
Joost Lekkerkerker
2023-10-24 00:15:58 +02:00
committed by GitHub
parent 2935d7d919
commit d5e7cccff9

View File

@@ -383,6 +383,7 @@ async def async_setup_entry(
device_info = DeviceInfo(
configuration_url=f"http://{entry.data[CONF_HOST]}/",
identifiers={(DOMAIN, coordinator.data.serial)},
serial_number=coordinator.data.serial,
manufacturer="Brother",
model=coordinator.data.model,
name=coordinator.data.model,