From ffc0a728767c3ed47b072980667119ae6281a15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 19 Jul 2026 21:16:38 -0700 Subject: [PATCH] home-assistant-custom-components.cover_time_based: init at 4.7.2 --- .../cover_time_based/package.nix | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/servers/home-assistant/custom-components/cover_time_based/package.nix diff --git a/pkgs/servers/home-assistant/custom-components/cover_time_based/package.nix b/pkgs/servers/home-assistant/custom-components/cover_time_based/package.nix new file mode 100644 index 000000000000..b66d33f15128 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/cover_time_based/package.nix @@ -0,0 +1,39 @@ +{ + buildHomeAssistantComponent, + fetchFromGitHub, + lib, + pytest-homeassistant-custom-component, + pytestCheckHook, +}: + +buildHomeAssistantComponent (finalAttrs: { + owner = "Sese-Schneider"; + domain = "cover_time_based"; + version = "4.7.2"; + + src = fetchFromGitHub { + inherit (finalAttrs) owner; + repo = "ha-cover-time-based"; + tag = "v${finalAttrs.version}"; + hash = "sha256-c5uX/DIuG9srL/F8llMio84iePjEh+3w7n+JHk7bJHc="; + }; + + nativeCheckInputs = [ + pytest-homeassistant-custom-component + pytestCheckHook + ]; + + disabledTestPaths = [ + # no need to test development scripts + "tests/test_bump_dev_script.py" + "tests/test_release_script.py" + ]; + + meta = { + changelog = "https://github.com/Sese-Schneider/ha-cover-time-based/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + description = "Integration which allows cover control based on time"; + homepage = "https://github.com/Sese-Schneider/ha-cover-time-based"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.dotlambda ]; + }; +})