mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
Set end date for when allowing unique id collisions in config entries (#147516)
* Set end date for when allowing unique id collisions in config entries * Update test
This commit is contained in:
parent
0f95fe566c
commit
3b64db5f76
@ -1646,6 +1646,7 @@ class ConfigEntriesFlowManager(
|
||||
report_usage(
|
||||
"creates a config entry when another entry with the same unique ID "
|
||||
"exists",
|
||||
breaks_in_ha_version="2026.3",
|
||||
core_behavior=ReportBehavior.LOG,
|
||||
core_integration_behavior=ReportBehavior.LOG,
|
||||
custom_integration_behavior=ReportBehavior.LOG,
|
||||
|
@ -8823,7 +8823,7 @@ async def test_create_entry_existing_unique_id(
|
||||
|
||||
log_text = (
|
||||
f"Detected that integration '{domain}' creates a config entry "
|
||||
"when another entry with the same unique ID exists. Please "
|
||||
"create a bug report at https:"
|
||||
"when another entry with the same unique ID exists. This will stop "
|
||||
"working in Home Assistant 2026.3, please create a bug report at https:"
|
||||
)
|
||||
assert (log_text in caplog.text) == expected_log
|
||||
|
Loading…
x
Reference in New Issue
Block a user