Skip to content

Commit

Permalink
home-assistant-custom-components.amshan-homeassistant: init at 2024.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornfor committed Jan 12, 2025
1 parent b41c6e7 commit 89c9c0d
Showing 1 changed file with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
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=";
};

propagatedBuildInputs = [
amshan
];

meta = {
description = "Home Assistant integration for electricity meters (AMS/HAN/P1)";
longDescription = ''
The integraiton 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 ];
};
}

0 comments on commit 89c9c0d

Please sign in to comment.