home-assistant-custom-components.openplantbook: ini at 1.3.3

This commit is contained in:
Sandro Jäckel
2026-03-17 20:15:06 +01:00
parent 4e1046f154
commit b15d753ca3
@@ -0,0 +1,45 @@
{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
json-timeseries,
openplantbook-sdk,
pytest-homeassistant-custom-component,
pytestCheckHook,
}:
buildHomeAssistantComponent rec {
owner = "olen";
domain = "openplantbook";
version = "1.3.3";
src = fetchFromGitHub {
inherit owner;
repo = "home-assistant-openplantbook";
tag = "v${version}";
hash = "sha256-t4ZyY6zodCRJZTIqu7Rcfr7sRUmo5QarZU8y0lCKmWE=";
};
postPatch = ''
substituteInPlace custom_components/openplantbook/manifest.json \
--replace-fail "==" ">="
'';
dependencies = [
json-timeseries
openplantbook-sdk
];
nativeCheckInputs = [
pytest-homeassistant-custom-component
pytestCheckHook
];
meta = {
description = "Integration to search and fetch data from Openplantbook.io";
homepage = "https://github.com/Olen/home-assistant-openplantbook";
changelog = "https://github.com/Olen/home-assistant-openplantbook/releases/tag/${src.tag}";
maintainers = with lib.maintainers; [ SuperSandro2000 ];
license = lib.licenses.gpl3Only;
};
}