Merge pull request #285149 from rhoriguchi/localtuya

home-assistant-custom-components.localtuya: init at 5.2.1
This commit is contained in:
Martin Weinelt 2024-02-08 23:17:08 +01:00 committed by GitHub
commit 3688a3431f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 0 deletions

View file

@ -10,6 +10,8 @@
gpio = callPackage ./gpio {};
localtuya = callPackage ./localtuya {};
miele = callPackage ./miele {};
prometheus_sensor = callPackage ./prometheus_sensor {};

View file

@ -0,0 +1,25 @@
{ lib
, buildHomeAssistantComponent
, fetchFromGitHub
}:
buildHomeAssistantComponent rec {
owner = "rospogrigio";
domain = "localtuya";
version = "5.2.1";
src = fetchFromGitHub {
owner = "rospogrigio";
repo = "localtuya";
rev = "v${version}";
hash = "sha256-hA/1FxH0wfM0jz9VqGCT95rXlrWjxV5oIkSiBf0G0ac=";
};
meta = with lib; {
changelog = "https://github.com/rospogrigio/localtuya/releases/tag/${version}";
description = "A Home Assistant custom Integration for local handling of Tuya-based devices";
homepage = "https://github.com/rospogrigio/localtuya";
maintainers = with maintainers; [ rhoriguchi ];
license = licenses.gpl3Only;
};
}