diff --git a/blog/2025-03-24-config-subentry-flow-changes.md b/blog/2025-03-24-config-subentry-flow-changes.md new file mode 100644 index 00000000..b33fbf76 --- /dev/null +++ b/blog/2025-03-24-config-subentry-flow-changes.md @@ -0,0 +1,13 @@ +--- +author: Erik Montnemery +authorURL: https://github.com/emontnemery +title: "Changes to ConfigSubentryFlow" +--- + +`ConfigSubentryFlow._reconfigure_entry_id` has been renamed to `ConfigSubentryFlow._entry_id` and `ConfigSubentryFlow._get_reconfigure_entry` has been renamed to `ConfigSubentryFlow._get_entry`. + +The reason for the change is that both sub entry user flows and subentry reconfigure flows need access to parent config entry, e.g. getting options, data, etc. + +Custom integrations which call either of the renamed methods need to update their implementations. + +The change is introduced in the [home assistant core PR #141017](https://github.com/home-assistant/core/pull/141017).