Merge branch 'main' of https://git.xenia.me.uk/pixelifytica/nixos
This commit is contained in:
commit
35fbc491f1
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildHomeAssistantComponent,
|
||||||
|
pytapo,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildHomeAssistantComponent rec {
|
||||||
|
owner = "JurajNyiri";
|
||||||
|
domain = "tapo_control";
|
||||||
|
version = "5.8.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "JurajNyiri";
|
||||||
|
repo = "HomeAssistant-Tapo-Control";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-JNCuWYBlc0kIa6wL1XEZdO/IL5R3Xa8qFBOhA0PooiA=";
|
||||||
|
};
|
||||||
|
dependencies = [ pytapo ];
|
||||||
|
ignoreVersionRequirement = [ "pytapo" ];
|
||||||
|
}
|
|
@ -15,8 +15,10 @@
|
||||||
# Extra integrations
|
# Extra integrations
|
||||||
"apple_tv"
|
"apple_tv"
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
|
"ffmpeg" # Tapo
|
||||||
"mobile_app"
|
"mobile_app"
|
||||||
"nanoleaf"
|
"nanoleaf"
|
||||||
|
"onvif" # Tapo
|
||||||
"proximity"
|
"proximity"
|
||||||
"prusalink"
|
"prusalink"
|
||||||
"sonos"
|
"sonos"
|
||||||
|
@ -24,11 +26,15 @@
|
||||||
"tado"
|
"tado"
|
||||||
"tplink_tapo"
|
"tplink_tapo"
|
||||||
];
|
];
|
||||||
customComponents = with pkgs.home-assistant-custom-components; [
|
customComponents =
|
||||||
(dirigera_platform.override {
|
(with pkgs.home-assistant-custom-components; [
|
||||||
dirigera = (pkgs.python312Packages.dirigera.overrideAttrs (final: prev: { doCheck = false; }));
|
(dirigera_platform.override {
|
||||||
})
|
dirigera = (pkgs.python312Packages.dirigera.overrideAttrs (final: prev: { doCheck = false; }));
|
||||||
];
|
})
|
||||||
|
])
|
||||||
|
++ (with pkgs; [
|
||||||
|
(home-assistant.python.pkgs.callPackage ./customComponents/tapo_control.nix { })
|
||||||
|
]);
|
||||||
config = {
|
config = {
|
||||||
# Includes dependencies for a basic setup
|
# Includes dependencies for a basic setup
|
||||||
# https://www.home-assistant.io/integrations/default_config/
|
# https://www.home-assistant.io/integrations/default_config/
|
||||||
|
|
Loading…
Reference in a new issue