diff options
author | K900 | 2024-04-07 09:31:47 +0300 |
---|---|---|
committer | K900 | 2024-04-07 18:41:45 +0300 |
commit | 677c939dd2f0b4a6e78ae5d5e6995b9c55073a1d (patch) | |
tree | bead1d136c8f6a5625a92ef1afcf526054a4cca7 /pkgs | |
parent | bb9b157eb7d857a69361e77626bc3d4f2957bfd4 (diff) |
home-assistant-custom-components.midea-air-appliances-lan: init at 0.9.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/home-assistant/custom-components/default.nix | 2 | ||||
-rw-r--r-- | pkgs/servers/home-assistant/custom-components/midea-air-appliances-lan/default.nix | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix index 768c13b12b35..a0946898b28d 100644 --- a/pkgs/servers/home-assistant/custom-components/default.nix +++ b/pkgs/servers/home-assistant/custom-components/default.nix @@ -22,6 +22,8 @@ localtuya = callPackage ./localtuya {}; + midea-air-appliances-lan = callPackage ./midea-air-appliances-lan {}; + miele = callPackage ./miele {}; moonraker = callPackage ./moonraker {}; diff --git a/pkgs/servers/home-assistant/custom-components/midea-air-appliances-lan/default.nix b/pkgs/servers/home-assistant/custom-components/midea-air-appliances-lan/default.nix new file mode 100644 index 000000000000..5fa1216ad4fb --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/midea-air-appliances-lan/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildHomeAssistantComponent +, fetchFromGitHub +, midea-beautiful-air +}: + +buildHomeAssistantComponent rec { + owner = "nbogojevic"; + domain = "midea_dehumidifier_lan"; + version = "0.9.2"; + + src = fetchFromGitHub { + inherit owner; + repo = "homeassistant-midea-air-appliances-lan"; + rev = "v${version}"; + hash = "sha256-CNvtpC7g0XR+cNDV9sMWc3sRLsy4bXFSDvkP+I7W1Gc="; + }; + + propagatedBuildInputs = [ midea-beautiful-air ]; + + meta = with lib; { + description = "Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network"; + homepage = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan"; + changelog = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/releases/tag/v${version}"; + maintainers = with maintainers; [ k900 ]; + license = licenses.mit; + }; +} |