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

507 B

author authorURL title
epenet https://github.com/epenet 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.