Skip to content

Commit

Permalink
home-assistant-custom-lovelace-modules.template-entity-row: init at 1…
Browse files Browse the repository at this point in the history
….4.1

🔹 Display whatever you want in an entities card row.
  • Loading branch information
mweinelt committed Jul 29, 2024
1 parent 62d6e3e commit 976d87f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

rmv-card = callPackage ./rmv-card { };

template-entity-row = callPackage ./template-entity-row { };

valetudo-map-card = callPackage ./valetudo-map-card { };

zigbee2mqtt-networkmap = callPackage ./zigbee2mqtt-networkmap { };
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:

buildNpmPackage rec {
pname = "template-entity-row";
version = "1.4.1";

src = fetchFromGitHub {
owner = "thomasloven";
repo = "lovelace-template-entity-row";
rev = "v${version}";
hash = "sha256-XQxdnRQywWki5mJhmQU5Etz2XSB8jYC32tFGLWb3IXs=";
};

npmDepsHash = "sha256-fJ+2LWXtUH4PiHhoVhMMxdCnCjfH+xzk+vjI44rKF60=";

installPhase = ''
runHook preInstall
mkdir $out
cp template-entity-row.js $out/
runHook postInstall
'';

meta = with lib; {
changelog = "https://github.com/thomasloven/lovelace-template-entity-row/releases/tag/${src.rev}";
description = "Display whatever you want in an entities card row";
homepage = "https://github.com/thomasloven/lovelace-template-entity-row";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
platforms = platforms.all;
};
}

0 comments on commit 976d87f

Please sign in to comment.