home-assistant-custom-components.smartir: init at 1.17.9
This commit is contained in:
parent
5b18541d0a
commit
4eddeb46c4
|
@ -38,6 +38,8 @@
|
||||||
|
|
||||||
sensi = callPackage ./sensi {};
|
sensi = callPackage ./sensi {};
|
||||||
|
|
||||||
|
smartir = callPackage ./smartir {};
|
||||||
|
|
||||||
smartthinq-sensors = callPackage ./smartthinq-sensors {};
|
smartthinq-sensors = callPackage ./smartthinq-sensors {};
|
||||||
|
|
||||||
waste_collection_schedule = callPackage ./waste_collection_schedule {};
|
waste_collection_schedule = callPackage ./waste_collection_schedule {};
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, buildHomeAssistantComponent
|
||||||
|
, fetchFromGitHub
|
||||||
|
, aiofiles
|
||||||
|
, broadlink
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildHomeAssistantComponent rec {
|
||||||
|
owner = "smartHomeHub";
|
||||||
|
domain = "smartir";
|
||||||
|
version = "1.17.9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "smartHomeHub";
|
||||||
|
repo = "SmartIR";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-E6TM761cuaeQzlbjA+oZ+wt5HTJAfkF2J3i4P1Wbuic=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiofiles
|
||||||
|
broadlink
|
||||||
|
];
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
cp -r codes $out/custom_components/smartir/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/smartHomeHub/SmartIR/releases/tag/v${version}";
|
||||||
|
description = "Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)";
|
||||||
|
homepage = "https://github.com/smartHomeHub/SmartIR";
|
||||||
|
maintainers = with maintainers; [ azuwis ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user