mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +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
7d0e99da43
commit
b9a7371996
@ -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