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:
Erik Montnemery 2025-06-26 08:20:26 +02:00 committed by GitHub
parent 0f95fe566c
commit 3b64db5f76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View File

@ -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