Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
804 B
Nix
35 lines
804 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildHomeAssistantComponent,
|
|
amshan,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "toreamun";
|
|
domain = "amshan";
|
|
version = "2024.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "toreamun";
|
|
repo = "amshan-homeassistant";
|
|
tag = version;
|
|
hash = "sha256-L7TGdUjDvIRP9dHIkng9GYwilmRzhGbUK6ivx8PVtQ4=";
|
|
};
|
|
|
|
dependencies = [
|
|
amshan
|
|
];
|
|
|
|
meta = {
|
|
description = "Home Assistant integration for electricity meters (AMS/HAN/P1)";
|
|
longDescription = ''
|
|
The integration supports both streaming (serial port / TCP/IP) and MQTT
|
|
(Tibber Pulse, energyintelligence.se etc.).
|
|
'';
|
|
homepage = "https://github.com/toreamun/amshan-homeassistant";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ bjornfor ];
|
|
};
|
|
}
|