Skip to main content

ENTR BLE

Your ENTR lock, over Bluetooth. A Python library, a command-line interface, and a Home Assistant integration sharing the same protocol implementation.

GitHub release Checks License: MIT

Choose your starting point

Use ENTR BLE to… Start here Component
Control a lock from dashboards and automations Home Assistant guide HACS custom integration
Set up a lock, manage keys, or control it from a terminal CLI guide entr-ble-cli command
Build your own application Python library guide entr-ble → EntrLockClient

The library is independent of the CLI and Home Assistant. Both frontends use its asynchronous API for pairing, encrypted sessions, and lock operations.

What you can do

  • Discover nearby locks and initialize a new lock or recover owner access.
  • Lock and unlock, read battery and reported door/lock status.
  • Create, activate, suspend, and revoke user keys.
  • Change settings, calibrate the lock and magnet, and read diagnostics on supported firmware.
  • Import CLI credentials into Home Assistant without enrolling again.

See feature coverage for the complete command matrix and firmware requirements, and protocol notes for the underlying BLE protocol.

Before you start

The Python packages require Python 3.14+ and a working Bluetooth adapter; the HACS integration requires Home Assistant 2026.9.3+ and connectable Bluetooth coverage.

ENTR has a single owner slot. Recovering ownership replaces the previous owner's credential. To keep the mobile app as owner, redeem an additional user key instead. Each component's guide explains the choice before setup.

Hardware observations come from an ENTR EURO with communication version 1.29r5. Firmware support varies, and reported state can be stale after manual operation. This is an independent project, unaffiliated with ASSA ABLOY.

Development

This repository is a uv workspace:

src/entr_ble/                  Python library
packages/entr-ble-cli/          CLI and local credential store
custom_components/entr_ble/    Home Assistant integration
docs/                        Feature coverage and protocol reference

From the repository root, install all packages and the isolated Home Assistant development dependencies. The full suite requires Python 3.14.2+.

uv sync --locked --all-packages --group hacs
uv run --no-sync ruff check .
uv run --no-sync ruff format --check .
uv run --no-sync basedpyright
uv run --no-sync python -m unittest discover -s tests -v
uv run --no-sync python -m unittest discover -s packages/entr-ble-cli/tests -v
uv build --all-packages --no-sources

Tests simulate BLE responses and do not operate a physical lock. The CI workflow also validates the integration with Hassfest and HACS. Builds produce separate library and CLI wheels and source distributions in dist/; hardware behavior still needs verification on the target lock.

Releases

All components release together with one version and changelog. Release Please prepares a release PR; merging it runs the checks, publishes both Python packages to PyPI, and publishes the matching GitHub release for HACS. See release setup and recovery.

Support and license

Report an issue with the component, software version, lock model, communication version if known, and the command or action that failed. Remove credentials and passwords from anything you share.

Licensed under the MIT License.

Metadata

Release files for entr-ble 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entr-ble 1.2.0
File Size Uploaded Provenance Actions
entr_ble-1.2.0.tar.gz 29.9 kB Without provenance Details for entr_ble-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entr-ble 1.2.0
File Interpreter ABI Platform Actions
entr_ble-1.2.0-py3-none-any.whl Python 3 none any Details for entr_ble-1.2.0-py3-none-any.whl

Total release size: 66.9 kB

Release files / entr_ble-1.2.0.tar.gz

Download URL entr_ble-1.2.0.tar.gz
Size 29.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b87a3b835c522267d7084fd79ca90b2e8e44f64bc17004016648c3841fb86fd6
BLAKE2b-256 checksum
How to use checksums
3efcfdcdfd0664faf503d9d218b4e8aa0eb9496f4a87a6ce86c257836d8515ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / entr_ble-1.2.0-py3-none-any.whl

Download URL entr_ble-1.2.0-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1ae1b9439a76015e48750c906482b6ad5fc0da7e1812e2eb3f2b9b335b771c1
BLAKE2b-256 checksum
How to use checksums
d9d23c3bef3cfb9aa101651353e19cda433236d96ee5700f65a7b6dc78a4c781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for entr-ble 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page