Update deprecation warning for data_entry_flow (#122154)
parent
fb5443fe2f
commit
1e59ce2909
|
@ -46,7 +46,7 @@ class FlowResultType(StrEnum):
|
||||||
MENU = "menu"
|
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_FORM = DeprecatedConstantEnum(FlowResultType.FORM, "2025.1")
|
||||||
_DEPRECATED_RESULT_TYPE_CREATE_ENTRY = DeprecatedConstantEnum(
|
_DEPRECATED_RESULT_TYPE_CREATE_ENTRY = DeprecatedConstantEnum(
|
||||||
FlowResultType.CREATE_ENTRY, "2025.1"
|
FlowResultType.CREATE_ENTRY, "2025.1"
|
||||||
|
@ -532,7 +532,7 @@ class FlowManager(abc.ABC, Generic[_FlowResultT, _HandlerT]):
|
||||||
report(
|
report(
|
||||||
(
|
(
|
||||||
"does not use FlowResultType enum for data entry flow result type. "
|
"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,
|
error_if_core=False,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue