Add home-assistant and esphome

This commit is contained in:
Jakob Lechner 2024-03-17 20:06:14 +00:00
parent 40d071ba49
commit 7c4a6b263f
9 changed files with 236 additions and 5 deletions

View file

@ -31,5 +31,6 @@ in
wofi-bluetooth = callPackage ./wofi-bluetooth/wofi-bluetooth.nix { };
home-assistant-custom-components = prev.recurseIntoAttrs {
circadian_lighting = callPackage ./home-assistant-custom-components/circadian_lighting.nix { };
guntamatic = callPackage ./home-assistant-custom-components/guntamatic.nix { };
};
}

View file

@ -0,0 +1,19 @@
{ lib
, fetchFromGitHub
, buildHomeAssistantComponent
}:
buildHomeAssistantComponent rec {
owner = "a529987659852";
domain = "GuntamaticBiostar";
version = "0.2.8";
src = fetchFromGitHub {
owner = "a529987659852";
repo = "GuntamaticBiostar";
rev = "refs/tags/v${version}";
hash = "sha256-edKt2LQzxaMXAIeJcBag85ksKPXOfgCENO4jBw9hkCQ=";
};
dontBuild = true;
}