Add tapo_control custom hass component
This commit is contained in:
parent
a1dbb153bc
commit
6b62eac2bf
|
@ -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
|
||||
"apple_tv"
|
||||
"bluetooth"
|
||||
"ffmpeg" # Tapo
|
||||
"mobile_app"
|
||||
"nanoleaf"
|
||||
"onvif" # Tapo
|
||||
"proximity"
|
||||
"prusalink"
|
||||
"sonos"
|
||||
|
@ -24,11 +26,15 @@
|
|||
"tado"
|
||||
"tplink_tapo"
|
||||
];
|
||||
customComponents = with pkgs.home-assistant-custom-components; [
|
||||
(dirigera_platform.override {
|
||||
dirigera = (pkgs.python312Packages.dirigera.overrideAttrs (final: prev: { doCheck = false; }));
|
||||
})
|
||||
];
|
||||
customComponents =
|
||||
(with pkgs.home-assistant-custom-components; [
|
||||
(dirigera_platform.override {
|
||||
dirigera = (pkgs.python312Packages.dirigera.overrideAttrs (final: prev: { doCheck = false; }));
|
||||
})
|
||||
])
|
||||
++ (with pkgs; [
|
||||
(home-assistant.python.pkgs.callPackage ./customComponents/tapo_control.nix { })
|
||||
]);
|
||||
config = {
|
||||
# Includes dependencies for a basic setup
|
||||
# https://www.home-assistant.io/integrations/default_config/
|
||||
|
|
Loading…
Reference in a new issue