Add octopus_energy custom hass component
This commit is contained in:
parent
bde70d0c7b
commit
4a6cbd5ee6
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
buildHomeAssistantComponent,
|
||||
pydantic,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "BottlecapDave";
|
||||
domain = "octopus_energy";
|
||||
version = "14.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "BottlecapDave";
|
||||
repo = "HomeAssistant-OctopusEnergy";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tBM01ekeiTXEb1UxjbMLi7O5VAJ+4++N6ZxRPcTc6no=";
|
||||
};
|
||||
dependencies = [ pydantic ];
|
||||
}
|
|
@ -35,7 +35,10 @@
|
|||
dirigera = (pkgs.python312.pkgs.dirigera.overrideAttrs (final: prev: { doCheck = false; }));
|
||||
})
|
||||
])
|
||||
++ [ (hassPython.pkgs.callPackage ./customComponents/tapo_control.nix { }) ];
|
||||
++ (with hassPython.pkgs; [
|
||||
(callPackage ./customComponents/tapo_control.nix { })
|
||||
(callPackage ./customComponents/octopus_energy.nix { })
|
||||
]);
|
||||
config = {
|
||||
# Includes dependencies for a basic setup
|
||||
# https://www.home-assistant.io/integrations/default_config/
|
||||
|
|
Loading…
Reference in a new issue