Skip to content
Kane610Public

About

Python library wrapping deconz rest api for home-assistant

Topics

Resources

Stars

47 stars

Watchers

1 watching

Forks

Repository files navigation

deCONZ Chat Status

Python library wrapping deCONZ Rest API for Home-Assistant.

This implementation should cover most devices supported by deCONZ, if that is not the case please create an issue with debug logs and we will get it supported.

Only host address and API key are necessary for normal operations.

Acknowledgements
  • Mattias Flodins custom deCONZ component was a great source of inspiration.
  • Maija Vilkina and her blog Snillevilla has been a huge help in getting deCONZ up and running.
  • Thanks to donnib, dkmh, simonporter007, kroimon, Henrik Nilsson for requesting and verifying functionality!
  • Special thanks to Dresden Elektronik for sponsoring with extra Conbee and Raspbee hardware.

Development

To set up the repository for development, run:

./script/setup.sh

The optional requirements extra provides exact runtime dependency versions; project development and CI lock these dependencies with uv.lock. The setup script installs uv if needed, manages a project-local Python installation and virtual environment, synchronizes locked runtime extras and test/development dependency groups, and installs prek hooks. The root-level setup.sh remains available as a compatibility entrypoint.

Run the isolated CI checks locally with:

./script/check.sh

This verifies the lockfile, linting, formatting, typing, tests, and an installed wheel including its CLI and py.typed marker.

Maintenance commands:

./script/bump_dependencies.sh        # Update dependency bounds and uv.lock locally
./script/bump_dependencies.sh --pr   # Validate and publish dependency updates
./script/bump_version.sh             # Update dependencies and open a version PR
uv run --locked python script/check_install.py

Dependency updates select stable releases compatible with the minimum supported Python. Review all resulting changes, especially major-version updates. The publication commands validate in an isolated environment before committing or pushing; they require an up-to-date checkout, Git, an authenticated GitHub CLI, and origin pointing to this GitHub repository. Version bumps must start from a clean, up-to-date master branch. Dependency publication can also update the existing open same-repository PR for the current branch; only pyproject.toml and uv.lock may have changes, and partially staged edits must be resolved first. Creating a PR does not publish a release or upload to PyPI.

About

Python library wrapping deconz rest api for home-assistant

Topics

Resources

Stars

47 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages