home-assistant-custom-components.xiaomi_miot: init at 0.7.17
This commit is contained in:
parent
1c06cbcfe6
commit
5b18541d0a
|
@ -42,5 +42,7 @@
|
|||
|
||||
waste_collection_schedule = callPackage ./waste_collection_schedule {};
|
||||
|
||||
xiaomi_miot = callPackage ./xiaomi_miot {};
|
||||
|
||||
yassi = callPackage ./yassi {};
|
||||
}
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildHomeAssistantComponent
|
||||
, fetchFromGitHub
|
||||
, hap-python
|
||||
, micloud
|
||||
, pyqrcode
|
||||
, python-miio
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "al-one";
|
||||
domain = "xiaomi_miot";
|
||||
version = "0.7.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "al-one";
|
||||
repo = "hass-xiaomi-miot";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IpL4e2mKCdtNu8NtI+xpx4FPW/uj1M5Rk6DswXmSJBk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
hap-python
|
||||
micloud
|
||||
pyqrcode
|
||||
python-miio
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/al-one/hass-xiaomi-miot/releases/tag/${version}";
|
||||
description = "Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices.";
|
||||
homepage = "https://github.com/al-one/hass-xiaomi-miot";
|
||||
maintainers = with maintainers; [ azuwis ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue