home-assistant-custom-components.sensi: init at 1.3.1

This commit is contained in:
Ivan Kozik 2024-03-09 01:05:16 +00:00
parent b286b8df1c
commit 389833eb4b
2 changed files with 32 additions and 0 deletions

View File

@ -26,5 +26,7 @@
prometheus_sensor = callPackage ./prometheus_sensor {};
sensi = callPackage ./sensi {};
waste_collection_schedule = callPackage ./waste_collection_schedule {};
}

View File

@ -0,0 +1,30 @@
{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
websockets,
}:
buildHomeAssistantComponent rec {
owner = "iprak";
domain = "sensi";
version = "1.3.1";
src = fetchFromGitHub {
inherit owner;
repo = domain;
rev = "refs/tags/v${version}";
hash = "sha256-RF182b6OBpoXfDsalwZntuaN8VxkQK2jy9qa0zNFQdI=";
};
propagatedBuildInputs = [
websockets
];
meta = with lib; {
changelog = "https://github.com/iprak/sensi/releases/tag/v${version}";
description = "HomeAssistant integration for Sensi thermostat";
homepage = "https://github.com/iprak/sensi";
maintainers = with maintainers; [ ivan ];
license = licenses.mit;
};
}