mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-19 10:57:14 +00:00
Add blog post about renamed subentry flow methods (#2617)
This commit is contained in:
parent
88e2953f6f
commit
5327735cea
13
blog/2025-03-24-config-subentry-flow-changes.md
Normal file
13
blog/2025-03-24-config-subentry-flow-changes.md
Normal file
@ -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).
|
Loading…
x
Reference in New Issue
Block a user