update hass components
This commit is contained in:
31
modules/homeassistant/hacs/bambulab.nix
Normal file
31
modules/homeassistant/hacs/bambulab.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ 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
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user