Merge pull request #302272 from K900/the-hassening
home-assistant-custom-components: add a bunch of stuff
This commit is contained in:
commit
001fa2889f
@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, cryptography
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, pytest-socket
|
||||
, requests-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "midea-beautiful-air";
|
||||
version = "0.10.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nbogojevic";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1IOv9K8f69iRpYaCx3k0smVrCKPmDxlT/1uVoTyvIjU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-socket
|
||||
requests-mock
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# tests optional dependencies + network
|
||||
"tests/test_cli.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "midea_beautiful" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for accessing Midea air conditioners and dehumidifiers (Midea, Comfee, Inventor EVO) via local network";
|
||||
homepage = "https://github.com/nbogojevic/midea-beautiful-air";
|
||||
changelog = "https://github.com/nbogojevic/midea-beautiful-air/releases/tag/v${version}";
|
||||
maintainers = with maintainers; [ k900 ];
|
||||
mainProgram = "midea-beautiful-air-cli";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -22,6 +22,8 @@
|
||||
|
||||
localtuya = callPackage ./localtuya {};
|
||||
|
||||
midea-air-appliances-lan = callPackage ./midea-air-appliances-lan {};
|
||||
|
||||
miele = callPackage ./miele {};
|
||||
|
||||
moonraker = callPackage ./moonraker {};
|
||||
@ -32,5 +34,9 @@
|
||||
|
||||
sensi = callPackage ./sensi {};
|
||||
|
||||
smartthinq-sensors = callPackage ./smartthinq-sensors {};
|
||||
|
||||
waste_collection_schedule = callPackage ./waste_collection_schedule {};
|
||||
|
||||
yassi = callPackage ./yassi {};
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
@ -7,13 +7,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "marcolivierarsenault";
|
||||
domain = "moonraker";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marcolivierarsenault";
|
||||
repo = "moonraker-home-assistant";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-jxMi4hmSVBU9ztoHxFINoJo8klirfo6j7gWty7FXFkQ=";
|
||||
hash = "sha256-oFHV9+5byWCOUxUhOvGHNilCZaoOp2xxb33nF8+CYjE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildHomeAssistantComponent
|
||||
, fetchFromGitHub
|
||||
, charset-normalizer
|
||||
, pycountry
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "ollo69";
|
||||
domain = "smartthinq_sensors";
|
||||
version = "0.39.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = "ha-smartthinq-sensors";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mt5/XHDAUeoMUA1jWdCNXTUgZBQkqabL5Y4MxwxcweY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
charset-normalizer
|
||||
pycountry
|
||||
xmltodict
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Home Assistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface";
|
||||
homepage = "https://github.com/ollo69/ha-smartthinq-sensors";
|
||||
changelog = "https://github.com/ollo69/ha-smartthinq-sensors/releases/tag/v${version}";
|
||||
maintainers = with maintainers; [ k900 ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildHomeAssistantComponent
|
||||
, fetchFromGitHub
|
||||
, pysmartthings
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "samuelspagl";
|
||||
domain = "samsung_soundbar";
|
||||
version = "0.4.0b2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = "ha_samsung_soundbar";
|
||||
rev = version;
|
||||
hash = "sha256-htAUCQe8mpk+GFwxXkPVnWS0m3mZd2hUt+f4qES+W4U=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pysmartthings ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A HomeAssistant integration for Samsung Soundbars";
|
||||
homepage = "https://ha-samsung-soundbar.vercel.app/";
|
||||
changelog = "https://github.com/samuelspagl/ha_samsung_soundbar/releases/tag/${version}";
|
||||
maintainers = with maintainers; [ k900 ];
|
||||
# https://github.com/samuelspagl/ha_samsung_soundbar/issues/31
|
||||
license = licenses.unfree;
|
||||
};
|
||||
}
|
@ -7339,6 +7339,8 @@ self: super: with self; {
|
||||
|
||||
microsoft-kiota-serialization-text = callPackage ../development/python-modules/microsoft-kiota-serialization-text { };
|
||||
|
||||
midea-beautiful-air = callPackage ../development/python-modules/midea-beautiful-air { };
|
||||
|
||||
midiutil = callPackage ../development/python-modules/midiutil { };
|
||||
|
||||
mido = callPackage ../development/python-modules/mido { };
|
||||
|
Loading…
Reference in New Issue
Block a user