Unverified Commit fc3965fd authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

home-assistant-custom-components.alphaess: ini at 0.7.3 (#476619)

parents 25a3452d 86c5c237
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
  aiohttp,
  voluptuous,
}:
buildPythonPackage rec {
  pname = "alphaess";
  version = "0.0.17";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "CharlesGillanders";
    repo = "alphaess-openAPI";
    tag = version;
    sha256 = "sha256-ECOL1fCJDL9OEDKElw9yAzF5SF3RB/6TrgK26ddtSzw=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    voluptuous
  ];

  pythonImportsCheck = [
    "alphaess"
  ];

  meta = {
    homepage = "https://github.com/CharlesGillanders/alphaess-openAPI";
    description = "Library that uses the Alpha ESS Open API to retrieve data on your Alpha ESS inverter, photovoltaic panels, and battery";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ benediktbroich ];
  };
}
+29 −0
Original line number Diff line number Diff line
{
  buildHomeAssistantComponent,
  fetchFromGitHub,
  lib,
  alphaessopenapi,
}:
buildHomeAssistantComponent rec {
  owner = "CharlesGillanders";
  domain = "alphaess";
  version = "0.7.3";

  src = fetchFromGitHub {
    owner = "CharlesGillanders";
    repo = "homeassistant-alphaESS";
    tag = "v${version}";
    hash = "sha256-xLZDmJMomk+C3l8+Of85vkbwrjQUnGlYL/UL31Kn5gc=";
  };

  dependencies = [
    alphaessopenapi
  ];

  meta = {
    description = "Monitor your energy generation, storage, and usage data using the official API from Alpha ESS";
    homepage = "https://github.com/CharlesGillanders/homeassistant-alphaESS";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ benediktbroich ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -690,6 +690,8 @@ self: super: with self; {
  alpha-vantage = callPackage ../development/python-modules/alpha-vantage { };
  alphaessopenapi = callPackage ../development/python-modules/alphaessopenapi { };
  altair = callPackage ../development/python-modules/altair { };
  altcha = callPackage ../development/python-modules/altcha { };