diff --git a/pkgs/servers/home-assistant/custom-components/smarthq/package.nix b/pkgs/servers/home-assistant/custom-components/smarthq/package.nix new file mode 100644 index 000000000000..301fa4e15907 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/smarthq/package.nix @@ -0,0 +1,31 @@ +{ + lib, + aiohttp, + buildHomeAssistantComponent, + fetchFromGitHub, +}: + +buildHomeAssistantComponent (finalAttrs: { + owner = "geappliances"; + domain = "smarthq"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "geappliances"; + repo = "geappliances-smarthq-integration"; + tag = "v${finalAttrs.version}"; + hash = "sha256-LTLlkl4Mh0nSZfNVyLEItVPnQkM1nnDkPjsM98otp3w="; + }; + + dependencies = [ + aiohttp + ]; + + meta = { + changelog = "https://github.com/geappliances/geappliances-smarthq-integration/releases/tag/${finalAttrs.src.tag}"; + description = "Home Assistant integration for GE Appliances SmartHQ connected devices"; + homepage = "https://github.com/geappliances/geappliances-smarthq-integration"; + license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +})