Add FlowResultType enum to data entry flow (#72955)

This commit is contained in:
epenet
2022-06-08 07:02:44 +02:00
committed by GitHub
parent 329595bf73
commit f91aa33c5f
11 changed files with 79 additions and 53 deletions

View File

@@ -220,6 +220,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
constant=re.compile(r"^SOURCE_(\w*)$"),
),
],
"homeassistant.data_entry_flow": [
ObsoleteImportMatch(
reason="replaced by FlowResultType enum",
constant=re.compile(r"^RESULT_TYPE_(\w*)$"),
),
],
"homeassistant.helpers.device_registry": [
ObsoleteImportMatch(
reason="replaced by DeviceEntryDisabler enum",