mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Use correct config entry id in Livisi (#99812)
This commit is contained in:
parent
dfee5d06a6
commit
306c7cd9a9
@ -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