30 lines
847 B
Nix
30 lines
847 B
Nix
|
{
|
||
|
lib,
|
||
|
buildHomeAssistantComponent,
|
||
|
fetchFromGitHub,
|
||
|
pymodbus,
|
||
|
}:
|
||
|
|
||
|
buildHomeAssistantComponent rec {
|
||
|
owner = "wills106";
|
||
|
domain = "solax_modbus";
|
||
|
version = "2024.11.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "wills106";
|
||
|
repo = "homeassistant-solax-modbus";
|
||
|
rev = "refs/tags/${version}";
|
||
|
hash = "sha256-AzzTJ1W1lwLkewanVC2HxC89Zg1OyLRJ2xPtHWXVr6c=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|