Add passthru.entrypoint to lovelace modules

This commit is contained in:
Jordan Holt 2025-01-27 00:55:46 +00:00
parent 631ab0144f
commit 063c10bce5
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
5 changed files with 9 additions and 3 deletions

View File

@ -26,9 +26,7 @@ buildNpmPackage rec {
runHook postInstall runHook postInstall
''; '';
passthru = { passthru.entrypoint = "auto-entities.js";
entrypoint = "auto-entities.js";
};
makeCacheWritable = true; makeCacheWritable = true;

View File

@ -24,6 +24,8 @@ buildNpmPackage rec {
runHook postInstall runHook postInstall
''; '';
passthru.entrypoint = "floorplan.js";
meta = { meta = {
description = "Floorplan for Home Assistant"; description = "Floorplan for Home Assistant";
longDescription = '' longDescription = ''

View File

@ -26,6 +26,8 @@ buildNpmPackage rec {
runHook postInstall runHook postInstall
''; '';
passthru.entrypoint = "layout-card.js";
makeCacheWritable = true; makeCacheWritable = true;
meta = with lib; { meta = with lib; {

View File

@ -26,6 +26,8 @@ buildNpmPackage rec {
runHook postInstall runHook postInstall
''; '';
passthru.entrypoint = "my-cards.js";
makeCacheWritable = true; makeCacheWritable = true;
meta = with lib; { meta = with lib; {

View File

@ -26,6 +26,8 @@ buildNpmPackage rec {
runHook postInstall runHook postInstall
''; '';
passthru.entrypoint = "state-switch.js";
makeCacheWritable = true; makeCacheWritable = true;
meta = with lib; { meta = with lib; {