Unverified Commit 8631ebfd authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

home-assistant-custom-components.solis-sensor: init at 3.6.0 (#338150)

parents 6cdf8227 f7b65f22
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -58,6 +58,8 @@

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

  solis-sensor = callPackage ./solis-sensor {};

  somweb = callPackage ./somweb {};

  spook = callPackage ./spook {};
+28 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildHomeAssistantComponent,
  aiofiles,
}:

buildHomeAssistantComponent rec {
  owner = "hultenvp";
  domain = "solis";
  version = "3.6.0";

  src = fetchFromGitHub {
    owner = "hultenvp";
    repo = "solis-sensor";
    rev = "v${version}";
    sha256 = "sha256-DIUhUN1UfyXptaldJBsQEsImEnQqi4zFFKp70yXxDSk=";
  };

  dependencies = [ aiofiles ];

  meta = with lib; {
    description = "Home Assistant integration for the SolisCloud PV Monitoring portal via SolisCloud API";
    homepage = "https://github.com/hultenvp/solis-sensor";
    license = licenses.asl20;
    maintainers = with maintainers; [ jnsgruk ];
  };
}