mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-15 16:24:04 +02:00
do not raise but call self._abort_if_unique_id_configured
This commit is contained in:
parent
5167dc6565
commit
02923a3c9e
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
self.hass.config_entries.async_update_entry(
|
||||
entry, data=dict(entry.data, **user_input)
|
||||
)
|
||||
return
|
||||
self._abort_if_unique_id_configured()
|
||||
return self.async_create_entry(title=user_input["name"], data=user_input)
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue