Skip to content

Commit 8217581

Browse files
committed
Update unique-config-entry rule
1 parent 4520e57 commit 8217581

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/core/integration-quality-scale/rules/unique-config-entry.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ This can lead to duplicated devices and entities with unique identifiers collidi
1717
Any discovery flow must also ensure that a config entry is uniquely identifiable, as otherwise, it would discover devices already set up.
1818

1919
To prevent this, we need to ensure that the user can only set up a device or service once.
20+
Trying to set up a device or service that is already set up should be prevented by the integration.
21+
This should be handled by the reconfiguration flow, in where we can be more consistent with what gets updated.
2022

2123
## Example implementation
2224

0 commit comments

Comments
 (0)