Update deprecation warning for data_entry_flow (#122154)

pull/122166/head
Dave T 2024-07-19 08:08:45 +01:00 committed by GitHub
parent fb5443fe2f
commit 1e59ce2909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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,
) )