diff options
| author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-09-16 12:05:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 12:05:13 +0200 |
| commit | b5faf0c782c6193045d59a24fabf1a86f8146475 (patch) | |
| tree | a0e4ec40509a6f3b293f6c480d532223c39069d1 | |
| parent | fcitx5-pinyin-zhwiki: 20240509 -> 20240909 (#342223) (diff) | |
| parent | home-assistant-custom-components.average: init at 2.3.4 (diff) | |
| download | nixpkgs-b5faf0c782c6193045d59a24fabf1a86f8146475.tar.gz | |
home-assistant-custom-components.average: init at 2.3.4 (#341571)
| -rw-r--r-- | pkgs/servers/home-assistant/custom-components/average/default.nix | 25 | ||||
| -rw-r--r-- | pkgs/servers/home-assistant/custom-components/default.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/custom-components/average/default.nix b/pkgs/servers/home-assistant/custom-components/average/default.nix new file mode 100644 index 000000000000..be381233a116 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/average/default.nix @@ -0,0 +1,25 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, +}: + +buildHomeAssistantComponent rec { + owner = "Limych"; + domain = "average"; + version = "2.3.4"; + + src = fetchFromGitHub { + inherit owner; + repo = "ha-average"; + rev = version; + hash = "sha256-PfN2F1/ScVScXfh5jKQDZ6rK4XlqD9+YW8k4f4i3bk0="; + }; + + meta = with lib; { + description = "Average Sensor for Home Assistant"; + homepage = "https://github.com/Limych/ha-average"; + maintainers = with maintainers; [ matthiasbeyer ]; + license = licenses.cc-by-nc-40; + }; +} diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix index 426c0320e3fe..b135b29bd7bb 100644 --- a/pkgs/servers/home-assistant/custom-components/default.nix +++ b/pkgs/servers/home-assistant/custom-components/default.nix @@ -10,6 +10,8 @@ awtrix = callPackage ./awtrix {}; + average = callPackage ./average {}; + better_thermostat = callPackage ./better_thermostat {}; dwd = callPackage ./dwd { }; |
