Commit 475452a8 authored by K900's avatar K900
Browse files

home-assistant-custom-components.smartthinq-sensors: init at 0.39.0

parent 756d7316
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,5 +32,7 @@

  sensi = callPackage ./sensi {};

  smartthinq-sensors = callPackage ./smartthinq-sensors {};

  waste_collection_schedule = callPackage ./waste_collection_schedule {};
}
+34 −0
Original line number Diff line number Diff line
{ 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;
  };
}