home-assistant: support victron_remote_monitoring component (#455443)

This commit is contained in:
dotlambda
2025-10-25 19:42:33 +00:00
committed by GitHub
3 changed files with 55 additions and 1 deletions
@@ -0,0 +1,50 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
pydantic,
pytest-asyncio,
pytestCheckHook,
pytz,
}:
buildPythonPackage rec {
pname = "victron-vrm";
version = "0.1.8";
pyproject = true;
src = fetchFromGitHub {
owner = "KSoft-Si";
repo = "vrm-client";
tag = "v${version}";
hash = "sha256-NxkMUwiFD8C7Nrtd7cjoFvdkbAOJkIIt+TPtkous8Nc=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
pydantic
pytz
];
pythonImportsCheck = [ "victron_vrm" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
# tests connect to vrmapi.victronenergy.com
doCheck = false;
meta = {
changelog = "https://github.com/KSoft-Si/vrm-client/releases/tag/${src.tag}";
description = "Async Python client for the Victron Energy VRM API";
homepage = "https://github.com/KSoft-Si/vrm-client";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
@@ -6526,7 +6526,8 @@
];
"victron_remote_monitoring" =
ps: with ps; [
]; # missing inputs: victron-vrm
victron-vrm
];
"vilfo" =
ps: with ps; [
vilfo-api-client
@@ -7935,6 +7936,7 @@
"version"
"vesync"
"vicare"
"victron_remote_monitoring"
"vilfo"
"vizio"
"vlc_telnet"
+2
View File
@@ -19801,6 +19801,8 @@ self: super: with self; {
vharfbuzz = callPackage ../development/python-modules/vharfbuzz { };
victron-vrm = callPackage ../development/python-modules/victron-vrm { };
videocr = callPackage ../development/python-modules/videocr { };
vidstab = callPackage ../development/python-modules/vidstab { };