mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Use correct config entry id in Livisi (#99812)
This commit is contained in:
parent
850c095988
commit
0b4fedccff
@ -33,7 +33,7 @@ async def async_setup_entry(hass: core.HomeAssistant, entry: ConfigEntry) -> boo
|
||||
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = coordinator
|
||||
device_registry = dr.async_get(hass)
|
||||
device_registry.async_get_or_create(
|
||||
config_entry_id=coordinator.serial_number,
|
||||
config_entry_id=entry.entry_id,
|
||||
identifiers={(DOMAIN, entry.entry_id)},
|
||||
manufacturer="Livisi",
|
||||
name=f"SHC {coordinator.controller_type} {coordinator.serial_number}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user