diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/home-assistant/custom-components')
3 files changed, 55 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/home-assistant/custom-components/auth-header/default.nix b/nixpkgs/pkgs/servers/home-assistant/custom-components/auth-header/default.nix new file mode 100644 index 000000000000..9062b138590c --- /dev/null +++ b/nixpkgs/pkgs/servers/home-assistant/custom-components/auth-header/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildHomeAssistantComponent +, fetchFromGitHub +}: + +buildHomeAssistantComponent rec { + owner = "BeryJu"; + domain = "auth_header"; + version = "1.10-unstable-2024-02-26"; + + src = fetchFromGitHub { + inherit owner; + repo = "hass-auth-header"; + rev = "5923cb33b57a9d3c23513d54cc74b02ebd243409"; + hash = "sha256-ZYd1EduzoljaY3OnpjsKEAwtf03435zJmZtgqzbdjjA="; + }; + + # build step just runs linter + dontBuild = true; + + meta = with lib; { + description = "Home Assistant custom component which allows you to delegate authentication to a reverse proxy"; + homepage = "https://github.com/BeryJu/hass-auth-header"; + maintainers = with maintainers; [ mjm ]; + license = licenses.gpl3; + }; +} diff --git a/nixpkgs/pkgs/servers/home-assistant/custom-components/better_thermostat/default.nix b/nixpkgs/pkgs/servers/home-assistant/custom-components/better_thermostat/default.nix new file mode 100644 index 000000000000..a4a514b2693c --- /dev/null +++ b/nixpkgs/pkgs/servers/home-assistant/custom-components/better_thermostat/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchFromGitHub, buildHomeAssistantComponent }: + +buildHomeAssistantComponent rec { + owner = "KartoffelToby"; + domain = "better_thermostat"; + version = "1.5.0-beta7"; + + src = fetchFromGitHub { + owner = "KartoffelToby"; + repo = "better_thermostat"; + rev = "refs/tags/${version}"; + hash = "sha256-bJURpeBgoxXGR7C9MY/gmNY7OFvBxrJKz2cA61b5hNo="; + }; + + meta = with lib; { + changelog = + "https://github.com/KartoffelToby/better_thermostat/releases/tag/${version}"; + description = + "Smart TRV control integrates room-temp sensors, window/door sensors, weather forecasts, and ambient probes for efficient heating and calibration, enhancing energy savings and comfort."; + homepage = "https://better-thermostat.org/"; + maintainers = with maintainers; [ mguentner ]; + license = licenses.agpl3; + }; +} diff --git a/nixpkgs/pkgs/servers/home-assistant/custom-components/default.nix b/nixpkgs/pkgs/servers/home-assistant/custom-components/default.nix index 7a2cd3776a9a..81e708b637bc 100644 --- a/nixpkgs/pkgs/servers/home-assistant/custom-components/default.nix +++ b/nixpkgs/pkgs/servers/home-assistant/custom-components/default.nix @@ -4,6 +4,10 @@ { adaptive_lighting = callPackage ./adaptive_lighting {}; + auth-header = callPackage ./auth-header {}; + + better_thermostat = callPackage ./better_thermostat {}; + emporia_vue = callPackage ./emporia_vue {}; govee-lan = callPackage ./govee-lan {}; |