1{
2 buildHomeAssistantComponent,
3 fetchFromGitHub,
4 lib,
5 pysolarmanv5,
6 pyyaml,
7}:
8
9buildHomeAssistantComponent rec {
10 owner = "StephanJoubert";
11 domain = "solarman";
12 version = "1.5.1";
13
14 src = fetchFromGitHub {
15 owner = "StephanJoubert";
16 repo = "home_assistant_solarman";
17 tag = version;
18 hash = "sha256-+znRq7LGIxbxMEypIRqbIMgV8H4OyiOakmExx1aHEl8=";
19 };
20
21 dependencies = [
22 pysolarmanv5
23 pyyaml
24 ];
25
26 meta = {
27 description = "Home Assistant component for Solarman collectors used with a variety of inverters";
28 changelog = "https://github.com/StephanJoubert/home_assistant_solarman/releases/tag/${version}";
29 homepage = "https://github.com/StephanJoubert/home_assistant_solarman";
30 maintainers = with lib.maintainers; [ Scrumplex ];
31 license = lib.licenses.asl20;
32 };
33}