Developer guide

Prepare VENV

Create fork on

mkdir ~/boneio_development
python3 -m venv ~/boneio_development/venv
source ~/boneio_development/venv/bin/activate
cd ~/boneio_development
git clone [email protected]/yourusername/app_bbb.git

In below instruction I assume you still in activated venv.

source ~/boneio_development/venv/bin/activate

Install Dependencies

cd app_bbb
pip3 install -r requirements.txt
pip3 install -e .

Now you’re ready to add new features to app, prepare config.yaml, test it and create Pull Request later!

Updating your repo

If your repo is not up to date with current version you have to git rebase it.

To do so, do in your repository:

git remote add upstream
git fetch upstream dev
git rebase upstream/dev

You might need to rebase your branch. Read more at Home Assistant developer guide: