mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Update SMA config entry when unique ID already configured (#68179)
This commit is contained in:
parent
4bb52297a6
commit
ed24638201
@ -78,7 +78,7 @@ class SmaConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
|
||||
if not errors:
|
||||
await self.async_set_unique_id(device_info["serial"])
|
||||
self._abort_if_unique_id_configured()
|
||||
self._abort_if_unique_id_configured(updates=self._data)
|
||||
return self.async_create_entry(
|
||||
title=self._data[CONF_HOST], data=self._data
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user