mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-12 20:06:28 +00:00
Add schema version to example config flow (#1623)
This commit is contained in:
parent
9455a2eaf5
commit
bde1a15808
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user