For an integration repository to be valid it must meet the requirements below.

Repository structure

  • There must only be one integration per repository, i.e. there can only be one subdirectory to ROOT_OF_THE_REPO/custom_components/. If there are more than one, only the first one will be managed.
  • All files required for the integration to run must be located inside the directory ROOT_OF_THE_REPO/custom_components/INTEGRATION_NAME/.

OK example:


Not OK example (1):


Not OK example (2):


In your integration directory you must have a manifest.json file, which must at least define these keys:

  • domain
  • documentation
  • issue_tracker
  • codeowners
  • name

Check the official Home Assistant documentation for the values of those keys.

Python prerequisites

If your integration requires other python libraries, your integration must be added to home-assistant/wheels-custom-integrations.

Home Assistant Brands

You must have added your integration to home-assistant/brands conform to the UI standards in Home Assistant.

GitHub releases (optional)

It is preferred but not required to publish releases in your repository.

If you publish releases in your repository, HACS will present the user with a nice selection view of the 5 latest releases together with the default branch when they are installing or upgrading your integration.

If you don't publish releases in your repository, HACS will use the files in the branch marked as default.

References and examples

A good template to use as a reference is blueprint.

Last updated on