Skip to content

Commit

Permalink
home-assistant-custom-components.solax_modbus: init at 2024.09.4 (Nix…
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Sep 21, 2024
2 parents aff1070 + 630ff60 commit c811782
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/servers/home-assistant/custom-components/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@

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

solax_modbus = callPackage ./solax_modbus {};

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

somweb = callPackage ./somweb {};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
pymodbus,
}:

buildHomeAssistantComponent rec {
owner = "wills106";
domain = "solax_modbus";
version = "2024.09.4";

src = fetchFromGitHub {
owner = "wills106";
repo = "homeassistant-solax-modbus";
rev = "refs/tags/${version}";
hash = "sha256-xWWsV57ozzEQWRfO1t4EbwD7DWiB1go+iJbTLPuufJs=";
};

dependencies = [ pymodbus ];

meta = {
changelog = "https://github.com/wills106/homeassistant-solax-modbus/releases/tag/${version}";
description = "SolaX Power Modbus custom_component for Home Assistant (Supports some Ginlong Solis, Growatt, Sofar Solar, TIGO TSI & Qcells Q.Volt Hyb)";
homepage = "https://github.com/wills106/homeassistant-solax-modbus";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ Luflosi ];
};
}

0 comments on commit c811782

Please sign in to comment.