Add serial number to Fibaro (#102525)

This commit is contained in:
Joost Lekkerkerker 2023-10-22 16:53:29 +02:00 committed by GitHub
parent 1a8558012f
commit 392b53e256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,6 +406,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
device_registry.async_get_or_create( device_registry.async_get_or_create(
config_entry_id=entry.entry_id, config_entry_id=entry.entry_id,
identifiers={(DOMAIN, controller.hub_serial)}, identifiers={(DOMAIN, controller.hub_serial)},
serial_number=controller.hub_serial,
manufacturer="Fibaro", manufacturer="Fibaro",
name=controller.hub_name, name=controller.hub_name,
model=controller.hub_serial, model=controller.hub_serial,