# Home Assistant distribution All Home Assistant packaging is maintained under [`ha-addon/`](ha-addon/). ```text ha-addon/ ├── .env.example ├── build.sh ├── sync-repository.sh ├── repository/ # add-on repository source └── home-assistant/ # custom integration source ``` Initial setup: ```bash cd ha-addon cp .env.example .env ``` Release: ```bash ./build.sh push ./sync-repository.sh ``` `build.sh` reads OCI/build settings from `.env`. `sync-repository.sh` publishes both the add-on and `custom_components/gree_controller` to the separate Home Assistant repository. See [`ha-addon/README.md`](ha-addon/README.md) for details.