{ lib, buildHomeAssistantComponent, fetchFromGitHub, pymodbus, }: buildHomeAssistantComponent rec { owner = "wills106"; domain = "solax_modbus"; version = "2024.11.2"; src = fetchFromGitHub { owner = "wills106"; repo = "homeassistant-solax-modbus"; rev = "refs/tags/${version}"; hash = "sha256-Hy4LHEDp+WPpmWKQQqqLjQ0xSnShQg3a68g8NMJ9o2k="; }; 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 ]; }; }