Update config flow unique ID blog post (#2587)

* Update config flow unique ID blog post

* Update 2025-03-01-config-flow-unique-id.md
This commit is contained in:
epenet 2025-03-04 08:01:33 +01:00 committed by GitHub
parent 26cae35bda
commit 52d6fae57e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,10 @@ title: "New checks for config flow unique ID"
### Summary of changes
Creating a config entry with a unique ID already present in the registry is deprecated, and will now log a warning.
### Details
When a config flow creates an entry with a colliding unique ID, the old entry is currently automatically removed and replaced with the new config entry.
This can lead to unexpected behavior, and integrations should be adjusted to instead abort the flow.