From bde1a1580817c1de88699130d639fa808fc40fea Mon Sep 17 00:00:00 2001 From: rrooggiieerr Date: Mon, 16 Jan 2023 08:50:00 +0100 Subject: [PATCH] Add schema version to example config flow (#1623) --- docs/config_entries_config_flow_handler.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/config_entries_config_flow_handler.md b/docs/config_entries_config_flow_handler.md index 0e694729..57d68f3d 100644 --- a/docs/config_entries_config_flow_handler.md +++ b/docs/config_entries_config_flow_handler.md @@ -23,6 +23,9 @@ from .const import DOMAIN class ExampleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): """Example config flow.""" + # The schema version of the entries that it creates + # Home Assistant will call your migrate method if the version changes + VERSION = 1 ``` Once you have updated your manifest and created the `config_flow.py`, you will need to run `python3 -m script.hassfest` (one time only) for Home Assistant to activate the config entry for your integration.