From 6c7ae3254e626a7d13d9f7962afd6a792ddf1218 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 6 Apr 2026 11:01:23 +0200 Subject: [PATCH] home-assistant: depend on infrared-protocols This package has made it into global requirements.txt, so adding it to test dependencies shuts up test failures but that's not good enough. --- nixos/tests/home-assistant.nix | 1 - pkgs/servers/home-assistant/default.nix | 2 +- pkgs/servers/home-assistant/tests.nix | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix index 17e90ac7b6c7..feb464b33ade 100644 --- a/nixos/tests/home-assistant.nix +++ b/nixos/tests/home-assistant.nix @@ -80,7 +80,6 @@ in # without these some components that are loaded anyway fail to find # their dependencies default_config = { }; - infrared = { }; # include some popular integrations, that absolutely shouldn't break knx = { }; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index e5dd32ef59e6..868acd87cf31 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -349,6 +349,7 @@ python.pkgs.buildPythonApplication rec { home-assistant-bluetooth httpx ifaddr + infrared-protocols jinja2 lru-dict orjson @@ -416,7 +417,6 @@ python.pkgs.buildPythonApplication rec { "assist_pipeline" "frontend" "hue" - "infrared" "mobile_app" ]; diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index be6d910824f3..db2118b87ef1 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -39,7 +39,7 @@ let ]; emulated_kasa = getComponentDeps "camera" ++ getComponentDeps "conversation"; environment_canada = getComponentDeps "camera"; - esphome = getComponentDeps "camera" ++ getComponentDeps "infrared"; + esphome = getComponentDeps "camera"; fan = getComponentDeps "conversation"; fish_audio = getComponentDeps "tts"; foscam = getComponentDeps "camera"; @@ -60,7 +60,7 @@ let ibeacon-ble ]; gpslogger = getComponentDeps "assist_pipeline" ++ getComponentDeps "camera"; - group = getComponentDeps "camera" ++ getComponentDeps "conversation" ++ getComponentDeps "infrared"; + group = getComponentDeps "camera" ++ getComponentDeps "conversation"; hassio = getComponentDeps "frontend" ++ getComponentDeps "homeassistant_yellow"; hikvision = getComponentDeps "camera"; homeassistant = getComponentDeps "camera" ++ getComponentDeps "conversation"; @@ -77,7 +77,6 @@ let image_processing = getComponentDeps "conversation"; intelliclima = getComponentDeps "intellifire"; intent = getComponentDeps "conversation"; - kitchen_sink = getComponentDeps "infrared"; light = getComponentDeps "conversation"; local_file = getComponentDeps "camera"; locative = getComponentDeps "assist_pipeline" ++ getComponentDeps "camera";