diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix index fb558e343220..ad63a4bdc0b6 100644 --- a/pkgs/servers/home-assistant/custom-components/default.nix +++ b/pkgs/servers/home-assistant/custom-components/default.nix @@ -18,6 +18,8 @@ gpio = callPackage ./gpio {}; + homematicip_local = callPackage ./homematicip_local { }; + localtuya = callPackage ./localtuya {}; miele = callPackage ./miele {}; diff --git a/pkgs/servers/home-assistant/custom-components/homematicip_local/default.nix b/pkgs/servers/home-assistant/custom-components/homematicip_local/default.nix new file mode 100644 index 000000000000..26b9f85e1d79 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/homematicip_local/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildHomeAssistantComponent +, fetchFromGitHub +, hahomematic +}: + +buildHomeAssistantComponent rec { + owner = "danielperna84"; + domain = "homematicip_local"; + version = "1.58.0"; + + src = fetchFromGitHub { + owner = "danielperna84"; + repo = "custom_homematic"; + rev = "refs/tags/${version}"; + hash = "sha256-ianM29eF2MN2THS3CTg4tBkd+8pV/m1fg8VvMDhhadg="; + }; + + dependencies = [ + hahomematic + ]; + + meta = { + changelog = "https://github.com/danielperna84/custom_homematic/blob/${version}/changelog.md"; + description = "Custom Home Assistant Component for HomeMatic"; + homepage = "https://github.com/danielperna84/custom_homematic"; + maintainers = with lib.maintainers; [ dotlambda ]; + license = lib.licenses.mit; + }; +}