Intents for Home Assistant
Actively maintained. Last release 5 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install home-assistant-intentsHome Assistant Intents Package
Packaging for intents
Install
Clone the repo and create a virtual environment:
git clone --recursive https://github.com/OHF-Voice/intents-package
cd intents-package
script/setup
Release
Releases are automated by the
Release workflow: pushing a YYYY.M.D tag
(no leading v) publishes the package to PyPI via Trusted Publishing
and creates the matching GitHub release.
To cut a release:
-
Bump
versioninpyproject.tomltoYYYY.M.Dand commit. -
(Optional) Add a
## YYYY.M.Dsection toCHANGELOG.md. If present, it becomes the release notes; otherwise GitHub auto-generates them. -
Tag the commit and push the tag:
git tag YYYY.M.D git push origin YYYY.M.D
The workflow then:
- Verifies the tag matches
versioninpyproject.toml. - Checks out the
intentssubmodule at the same tag and commits the bumped pointer. - Runs
script/package(build + sanity check). - Only after that passes, pushes the submodule bump to the default branch and moves the tag onto that commit, so the tag, the default branch, and the published artifacts all point at the same commit.
- Publishes to PyPI and creates the GitHub release.
The intents repo must already have a tag with the matching YYYY.M.D name,
and the version must match pyproject.toml, or the workflow fails before
publishing anything.