diff options
Diffstat (limited to 'pkgs/servers/home-assistant/custom-lovelace-modules/README.md')
-rw-r--r-- | pkgs/servers/home-assistant/custom-lovelace-modules/README.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/custom-lovelace-modules/README.md b/pkgs/servers/home-assistant/custom-lovelace-modules/README.md new file mode 100644 index 00000000000..b67fd0fb91d --- /dev/null +++ b/pkgs/servers/home-assistant/custom-lovelace-modules/README.md @@ -0,0 +1,13 @@ +# Packaging guidelines + +## Entrypoint + +Every lovelace module has an entrypoint in the form of a `.js` file. By +default the nixos module will try to load `${pname}.js` when a module is +configured. + +The entrypoint used can be overridden in `passthru` like this: + +```nix +passthru.entrypoint = "demo-card-bundle.js"; +``` |