LCN Frontend
This repository contains the frontend files for the Home Assistant LCN configuration panel.
A detailed guide can be found in the documentation.
Feel free to use the issue tracker to report bugs, give feetback or share ideas for improvements.
If you want to participate in development (great!) head down to the development section.
Features
Device Configuration
-
Set up modules and groups for all your LCN integrations.
-
Search for modules and groups and have them added automatically.
-
Select a module or group to access the respective Entity Configuration panel.
Entity Configuration
-
Set up Home Assistant entities for each module or group.
-
Create new entities that map the functions of your LCN modules and configure their parameters.
-
New entities are automatically added to your Home Assistant configuration and you can add them to your dashboards just like for any other integration.
Development
Setting up the development environment
-
To display and test the frontend during development, you need to prepare a Home Assistant development environment. For this it is recommended to follow the instructions here.
-
You need to have
node.jsinstalled to build the frontend. Using nvm is the preferred method of installingnode.js. Install nvm using the instructions provided here. Install the correctnode.jsversion by running the following command in the root directory of your checkout working tree.
$ nvm install
-
The
lcn-frontenduses Yarn as a package manager for node modules. Install yarn using the instructions here.. -
Next is to prepare the submodules and install all node packages. To do this, run the following commands
$ make bootstrap
$ yarn install
Building the frontend
During development use the following command to build the frontend automatically whenever you make code changes:
$ make develop
A production build can be created by issuing:
$ make build
Preparing the frontend
Next is to symlink the build directory lcn_frontend into the Home Assistant configuration directory:
$ ln -s <lcn-frontend-dir>/lcn_frontend <hass-dir>/config/deps/lib/python3.xx/site-packages/
<lcn-frontend-dir>is the root working directory of the repository's checkout directory<hass-dir>is the root working directory of thehome-assistant-corerepository's checkout directory
The <hass-dir>/config directory is created when first starting Home Assistant. Usually you have to create the mentioned sub-paths by your own. Use the appropriate Home Assistant's Python version in the path.
Alternatively, if you are working with a venv install:
export PYTHONPATH=<lcn-frontend-dir>
Starting Home Assistant
Start Home Assistant using:
$ hass -c config
Updating the Home Assistant frontend
Replace [commit_id] with the desired commit or tag name.
$ cd homeassistant-frontend
$ git fetch
...
$ git checkout [commit_id]
...
$ cd ..
$ rm -f yarn.lock
$ node ./script/merge_requirements.js
...
$ make bootstrap
$ yarn install
Code quality
You may use the following commands to ensure code quality:
- Code formatting:
yarn run format - Code linting:
yarn run lint - Type linting:
yarn run lint:types
Metadata
Release files for lcn-frontend 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lcn_frontend-0.2.9.tar.gz | 5.6 MB | Without provenance | Details for lcn_frontend-0.2.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lcn_frontend-0.2.9-py3-none-any.whl | Python 3 | none | any | Details for lcn_frontend-0.2.9-py3-none-any.whl |
Total release size: 11.2 MB
Release files / lcn_frontend-0.2.9.tar.gz
| Download URL | lcn_frontend-0.2.9.tar.gz |
|---|---|
| Size | 5.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2507277c1ab0943a77d57460db2046f4767c8f86afc69e7b41ade006a4feebb2
|
|
BLAKE2b-256 checksum How to use checksums |
c827a366fed6aea1ff5782fee5df5a9f0272c819c6a71f4ee951ae153abaa33c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / lcn_frontend-0.2.9-py3-none-any.whl
| Download URL | lcn_frontend-0.2.9-py3-none-any.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8565f6e800f8599d38e7a30783b80be0ad413fb4f9b2f26172fbe27d5dc00e6
|
|
BLAKE2b-256 checksum How to use checksums |
707486e5c8acad4953a7fcbddb473674942dfdda73f05b5299763ff9ae30553a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for lcn-frontend 0.2.9
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.