From cc2f367ac96a5847b6e5afb1bea65d960444b22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Mon, 25 Jan 2021 13:34:25 +0100 Subject: [PATCH] Add version to the manifest (#780) Co-authored-by: Franck Nijhof --- docs/creating_integration_manifest.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/creating_integration_manifest.md b/docs/creating_integration_manifest.md index a226a96f..48f04b65 100644 --- a/docs/creating_integration_manifest.md +++ b/docs/creating_integration_manifest.md @@ -3,7 +3,7 @@ title: "Integration Manifest" sidebar_label: "Manifest" --- -Since 0.92.0, every integration has a manifest file to specify basic information about an integration. This file is stored as `manifest.json` in your integration directory. It is required to add such a file, except for custom components. +Every integration has a manifest file to specify basic information about an integration. This file is stored as `manifest.json` in your integration directory. It is required to add such a file. ```json { @@ -40,6 +40,12 @@ The domain is a short name consisting of characters and underscores. This domain The name of the integration. +## Version + +For core integrations, this should be omitted. + +The version of the integration is required for custom integrations. The version needs to be a valid version recognized by [AwesomeVersion](https://github.com/ludeeus/awesomeversion) like [CalVer](https://calver.org/) or [SemVer](https://semver.org/). + ## Documentation The website containing documentation on how to use your integration. If this integration is being submitted for inclusion in Home Assistant, it should be `https://www.home-assistant.io/integrations/`