mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Update deprecation warning for data_entry_flow (#122154)
This commit is contained in:
parent
fb5443fe2f
commit
1e59ce2909
@ -46,7 +46,7 @@ class FlowResultType(StrEnum):
|
||||
MENU = "menu"
|
||||
|
||||
|
||||
# RESULT_TYPE_* is deprecated, to be removed in 2022.9
|
||||
# RESULT_TYPE_* is deprecated, to be removed in 2025.1
|
||||
_DEPRECATED_RESULT_TYPE_FORM = DeprecatedConstantEnum(FlowResultType.FORM, "2025.1")
|
||||
_DEPRECATED_RESULT_TYPE_CREATE_ENTRY = DeprecatedConstantEnum(
|
||||
FlowResultType.CREATE_ENTRY, "2025.1"
|
||||
@ -532,7 +532,7 @@ class FlowManager(abc.ABC, Generic[_FlowResultT, _HandlerT]):
|
||||
report(
|
||||
(
|
||||
"does not use FlowResultType enum for data entry flow result type. "
|
||||
"This is deprecated and will stop working in Home Assistant 2022.9"
|
||||
"This is deprecated and will stop working in Home Assistant 2025.1"
|
||||
),
|
||||
error_if_core=False,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user