developers.home-assistant/blog/2022-06-07-dataflow-constan...

19 lines
507 B
Markdown

---
author: epenet
authorURL: https://github.com/epenet
title: "Deprecating Data Entry Flow constants"
---
As of Home Assistant Core 2022.7, all `RESULT_TYPE_*` constants for data entry flow result types are deprecated:
- `RESULT_TYPE_FORM`
- `RESULT_TYPE_CREATE_ENTRY`
- `RESULT_TYPE_ABORT`
- `RESULT_TYPE_EXTERNAL_STEP`
- `RESULT_TYPE_EXTERNAL_STEP_DONE`
- `RESULT_TYPE_SHOW_PROGRESS`
- `RESULT_TYPE_SHOW_PROGRESS_DONE`
- `RESULT_TYPE_MENU`
Use the new `FlowResultType` enum instead.