{ pkgs, ... }: let ha-bambulab = pkgs.buildHomeAssistantComponent rec { owner = "greghesp"; domain = "bambu_lab"; version = "v2.1.27"; src = pkgs.fetchFromGitHub { owner = owner; repo = "ha-bambulab"; rev = version; hash = "sha256-zHPXPYsHrJXOnSqllZqDrxGZDDqyXllC3XEGZRJil0Q="; }; propagatedBuildInputs = with pkgs.python3Packages; [ beautifulsoup4 ]; meta = { changelog = "https://github.com/greghesp/ha-bambulab/releases/tag/${version}"; description = "A Home Assistant Integration for Bambu Lab printers."; homepage = "https://github.com/greghesp/ha-bambulab"; maintainers = [ ]; }; }; in { services.home-assistant.customComponents = [ ha-bambulab ]; }