For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /developers/blog/2025-03-24-config-subentry-flow-changes.md.

ConfigSubentryFlow 的变更

ConfigSubentryFlow._reconfigure_entry_id 已重命名为 ConfigSubentryFlow._entry_idConfigSubentryFlow._get_reconfigure_entry 已重命名为 ConfigSubentryFlow._get_entry

进行此项变更的原因是,sub entry user flow 和 subentry reconfigure flow 都需要访问父 config entry,例如获取 options、data 等。

调用了上述任一重命名方法的自定义集成需要更新其实现。

此变更引入于 home assistant core PR #141017