Erik Montnemery and GitHub
1d885bd073
Restrict device registry entries to a single config entry and subentry ( #175785 )
2026-07-16 22:10:10 +02:00
G Johansson and GitHub
18d17a5346
Config entry migration error on downgrading ( #173184 )
2026-06-08 17:45:24 +02:00
Abílio Costa and GitHub
cb00ee1503
Skip reauth flow on ConfigEntryAuthFailed when integration has none ( #172483 )
2026-06-01 15:09:35 +01:00
Franck Nijhof and GitHub
86542b8ad0
Increase ConfigEntryNotReady retry backoff cap from 80s to 10 minutes ( #172487 )
2026-05-28 22:41:54 +02:00
Ariel Ebersberger and GitHub
5432d29489
Use is/is not for same-enum identity comparisons (tests) ( #171689 )
2026-05-22 11:32:27 +02:00
9a1fd913bf
Fix line length violations in tests (non-components) ( #170804 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: frenck <195327+frenck@users.noreply.github.com >
2026-05-17 10:30:45 -04:00
f886b60e2c
Deprecate use of config entry listener with reloading methods in config entries ( #169198 )
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-07 11:51:24 +02:00
epenet and GitHub
88525955ce
Remove import annotations from tests ( #169527 )
2026-04-30 09:30:46 +02:00
67df556e84
Add async_on_create_entry method to create config entries ( #155016 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-15 15:57:32 +02:00
36045c4bd3
Add ConfigEntry method to get subentries by type ( #167055 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2026-04-01 15:18:03 +02:00
7f13731035
Start orphaned entries in normal mode only ( #164815 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-03-16 20:45:33 +01:00
6a49a25799
Handle orphaned ignored config entries ( #153093 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-02-16 10:43:28 +01:00
ea42237444
Add dismiss protection to config flows ( #162270 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-06 10:59:37 +01:00
epenet and GitHub
dbfdaf6a2e
Use is over == comparison for FlowResultType in flow tests ( #159158 )
2025-12-16 09:48:45 +01:00
Joakim Plate and GitHub
5f522e5afa
Fix cancel propagation in update coordinator and config entry ( #153504 )
2025-11-27 19:48:45 +01:00
Erik Montnemery and GitHub
d2d47cb607
Use pytest.mark.freeze_time in config_entries tests ( #156239 )
2025-11-10 12:12:26 +01:00
b9fb4469d8
Remove deprecated start of flow no link to config entry ( #155956 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-09 20:16:56 +01:00
G Johansson and GitHub
5237dc073a
Remove deprecated config entry handling in OptionsFlow ( #155958 )
2025-11-07 09:59:06 +01:00
G Johansson and GitHub
67be4f863f
Fail creating config entry in reauth or reconfigure flows ( #154035 )
2025-10-24 22:12:32 +02:00
385fc5b3d0
Add next_flow parameter to async_abort for flow chaining ( #154416 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 11:45:21 -10:00
4fb3c9fed2
Add async_update_and_abort method to config flow ( #153146 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2025-10-13 21:39:04 +02:00
J. Nick Koston and GitHub
eab1205823
Add config flow title placeholder update infrastructure ( #154353 )
2025-10-13 11:15:28 -04:00
Martin Hjelmare and GitHub
393826635b
Add next_flow to config flow result ( #151998 )
2025-09-11 15:48:59 +02:00
Joost Lekkerkerker and GitHub
e3c0cfd1e2
Enable RUF059 and fix violations ( #152071 )
2025-09-10 21:16:09 +02:00
2e2b9483df
Improve efficiency of config_entries _async_abort_entries_match() ( #148344 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-08 15:17:29 -05:00
Erik Montnemery and GitHub
e67df73c4e
Clarify behavior of ConfigEntry.async_on_state_change ( #151628 )
2025-09-03 17:21:28 +02:00
5fc2e6ed53
Add async_update_reload_and_abort to config entry subentries ( #149768 )
...
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com >
2025-08-13 11:59:37 +02:00
Erik Montnemery and GitHub
aab7381553
Add test of ConfigSubentryFlow._subentry_type ( #147565 )
2025-07-26 00:27:04 +02:00
6f59aaebdd
Add extended class for OptionsFlow that automatically reloads ( #146910 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2025-07-19 13:14:20 +02:00
Michael and GitHub
9d178ad5f1
Deprecate the usage of ContextVar for config_entry in coordinator ( #138161 )
2025-07-16 21:45:22 +02:00
Erik Montnemery and GitHub
3b64db5f76
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
2025-06-26 08:20:26 +02:00
Paulus Schoutsen and GitHub
7f99cd2d2b
Clean up start_subentry_reconfigure_flow API for tests ( #147381 )
2025-06-23 21:45:33 +02:00
Erik Montnemery and GitHub
a857461059
Handle late abort when creating subentry ( #145765 )
...
* Handle late abort when creating subentry
* Move error handling to the base class
* Narrow down expected error in test
2025-05-28 12:26:28 +02:00
b6c4b06fc7
Skip check for entry updated by current flow in _async_abort_entries_match ( #141003 )
...
* Ignore entries with source reconfigure in _async_abort_entries_match
* Exclude reconfigure and reauth entry from match check
* Add tests
* Fix tests for other components
* Revert unrelated changes
* Update docstring
* Make test more realistic
* Change name and docstring for sabnzbd test
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
2025-05-09 16:15:17 +02:00
Robert Resch and GitHub
d2bdc85a7b
Remove deprecated async_forward_entry_setup function ( #144560 )
2025-05-09 14:34:55 +02:00
J. Nick Koston and GitHub
f13bdd0da4
Add support for passing though description_placeholders to _abort_if_unique_id_configured ( #142779 )
2025-04-12 07:47:02 -10:00
Erik Montnemery and GitHub
cf63175232
Abort reauth flows on config entry reload ( #140931 )
...
* Abort reauth flows on config entry reload
* Don't cancel reauth when reload is triggered by a reauth flow
* Revert "Don't cancel reauth when reload is triggered by a reauth flow"
This reverts commit f37c75621e .
* Don't fail in FlowManager._async_handle_step when the flow was aborted
* Update tplink config flow
* Add tests
* Don't allow create_entry from an aborted flow
* Add comment
* Adjust after merge with dev
2025-04-10 20:55:34 +02:00
Erik Montnemery and GitHub
7cbcb21e80
Revert "Don't create repairs asking user to remove duplicate flipr config entries" ( #142647 )
...
Revert "Don't create repairs asking user to remove duplicate flipr config ent…"
This reverts commit 536e686892 .
2025-04-10 19:50:50 +02:00
Erik Montnemery and GitHub
f344314762
Abort if a flow is removed during a step ( #142138 )
...
* Abort if a flow is removed during a step
* Reorganize code
* Only call _set_pending_import_done if an entry is created
* Try a new approach
* Add tests
* Update tests
2025-04-09 07:04:41 -10:00
Erik Montnemery and GitHub
70aacfce98
Improve tests of clean up when reauth flow aborts ( #142592 )
2025-04-09 16:47:04 +02:00
J. Nick Koston and GitHub
0b61b62334
Avoid logging a warning when replacing an ignored config entry ( #142114 )
...
Replacing an ignored config entry with one from the user
flow should not generate a warning. We should only warn
if we are replacing a usable config entry.
Followup to adjust the warning added in #130567
cc @epenet
2025-04-03 09:38:50 +02:00
6e6f10c085
Don't create persistent notification when starting discovery flow ( #141546 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Franck Nijhof <git@frenck.dev >
2025-03-31 14:42:58 +02:00
Erik Montnemery and GitHub
ab9d29bf9d
Remove reauth persistent notification ( #140932 )
...
* Remove persistent notification created when starting reauth
* Update netatmo tests
2025-03-24 09:29:14 +01:00
Pieter Viljoen and GitHub
d65392a374
ConfigSubEntryFlow _get_reconfigure_entry() -> _get_entry() ( #141017 )
...
* ConfigSubEntryFlow _get_reconfigure_entry() -> _get_entry()
* Update MQTT test
* Fix test_config_entries
* Minimize changes to keep existing tests working
* Re-revert and update negative test instead
2025-03-24 09:24:43 +01:00
Erik Montnemery and GitHub
290dab25bf
Don't raise in ConfigFlow.async_set_unique_id if the other flow is a reauth flow ( #140723 )
...
* Don't raise in ConfigFlow.async_set_unique_id if the other flow is a reauth flow
* Improve test
2025-03-17 09:04:30 -10:00
377e0a64d1
Reset helpers.frame._REPORTED_INTEGRATIONS in between tests ( #139924 )
...
* Reset helpers.frame._REPORTED_INTEGRATIONS in between tests
* Rename
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com >
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2025-03-06 13:57:13 +01:00
Erik Montnemery and GitHub
cc5c8bf5e3
Make helpers.frame.report_usage work when called from any thread ( #139836 )
...
* Make helpers.frame.report_usage work when called from any thread
* Address review comments, update tests
* Add test
* Update test
* Update recorder test
* Update tests
2025-03-05 19:37:34 +01:00
Erik Montnemery and GitHub
cfaf18f942
Improve the mock_integration_frame test fixture ( #139850 )
...
* Improve the mock_integration_frame test fixture
* Update test
2025-03-05 18:42:34 +01:00
epenet and GitHub
030a1460de
Log a warning when replacing existing config entry with same unique id ( #130567 )
...
* Log a warning when replacing existing config entry with same unique id
* Exclude mobile_app
* Ignore custom integrations
* Apply suggestions from code review
* Apply suggestions from code review
* Update config_entries.py
* Fix handler
* Adjust and add tests
* Apply suggestions from code review
* Apply suggestions from code review
* Update comment
* Update config_entries.py
* Apply suggestions from code review
2025-02-28 14:20:39 +01:00
Josef Zweck and GitHub
e59ec8f867
Add ability to get callback when a config entry state changes ( #138943 )
...
* Add entry_on_state_change_helper
* undo black
* remove unload
* no coro
* Add tests
* Don't accept coro
* Review feedback
* Add error test
* Make it callback type
* Make it callback type
* Removal test
* change type
2025-02-21 11:55:56 +01:00