mirror of
https://github.com/ludeeus/integration_blueprint.git
synced 2026-08-04 12:15:09 +00:00
No description
- Python 95.3%
- Shell 4.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Claude-Session: https://claude.ai/code/session_01YXQt8gtrTC4Q8NH9gLhbSX Co-authored-by: Claude <noreply@anthropic.com> |
||
| .github | ||
| config | ||
| custom_components/integration_blueprint | ||
| scripts | ||
| .devcontainer.json | ||
| .gitattributes | ||
| .gitignore | ||
| .ruff.toml | ||
| CONTRIBUTING.md | ||
| hacs.json | ||
| LICENSE | ||
| README.md | ||
| requirements_common.txt | ||
| requirements_dev.txt | ||
| requirements_lint.txt | ||
Notice
The component and platforms in this repository are not meant to be used by a user, but as a "blueprint" that custom component developers can build upon, to make more awesome stuff.
HAVE FUN! 😎
Why?
This is simple, by having custom_components look (README + structure) the same it is easier for developers to help each other and for users to start using them.
If you are a developer and you want to add things to this "blueprint" that you think more developers will have use for, please open a PR to add it :)
What?
This repository contains multiple files, here is a overview:
| File | Purpose | Documentation |
|---|---|---|
.devcontainer.json |
Used for development/testing with Visual Studio Code. | Documentation |
.github/renovate.json |
Dependency update configuration for Renovate (enabled by default). | Documentation |
.github/_dependabot.yml |
Dependency update configuration for Dependabot (disabled, see "Dependency updates" below). | Documentation |
.github/ISSUE_TEMPLATE/*.yml |
Templates for the issue tracker | Documentation |
custom_components/integration_blueprint/* |
Integration files, this is where everything happens. | Documentation |
CONTRIBUTING.md |
Guidelines on how to contribute. | Documentation |
LICENSE |
The license file for the project. | Documentation |
README.md |
The file you are reading now, should contain info about the integration, installation and configuration instructions. | Documentation |
requirements_dev.txt |
Python packages used for development/testing this integration (also installs lint tooling via requirements_lint.txt). |
Documentation |
requirements_lint.txt |
Python packages used to lint this integration (installed by the Lint CI job). | Documentation |
requirements_common.txt |
Python packages common to CI and local dev, installed first so any pip upgrade completes before other dependencies (e.g. a modern pip). | Documentation |
Dependency updates
This template ships with configuration for two dependency update tools. Pick one and remove or disable the other:
- Renovate (
.github/renovate.json) is enabled by default. - Dependabot (
.github/_dependabot.yml) is included but disabled — the_prefix means GitHub ignores it. To use Dependabot instead, rename the file back to.github/dependabot.ymland delete.github/renovate.json.
How?
- Create a new repository in GitHub, using this repository as a template by clicking the "Use this template" button in the GitHub UI.
- Open your new repository in Visual Studio Code devcontainer (Preferably with the "
Dev Containers: Clone Repository in Named Container Volume..." option). - Rename all instances of the
integration_blueprinttocustom_components/<your_integration_domain>(e.g.custom_components/awesome_integration). - Rename all instances of the
Integration Blueprintto<Your Integration Name>(e.g.Awesome Integration). - Run the
scripts/developto start HA and test out your new integration.
Next steps
These are some next steps you may want to look into:
- Add tests to your integration,
pytest-homeassistant-custom-componentcan help you get started. - Add brand images (logo/icon).
- Create your first release.
- Share your integration on the Home Assistant Forum.
- Submit your integration to HACS.