mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
home-assistant: adjust test dependencies
This commit is contained in:
parent
c450b5df7a
commit
e7fb9508f2
1 changed files with 31 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
home-assistant,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
@ -15,10 +16,12 @@ let
|
|||
"frontend"
|
||||
"stream"
|
||||
];
|
||||
analytics = getComponentDeps "homeassistant_hardware";
|
||||
anthropic = getComponentDeps "ai_task" ++ getComponentDeps "openai_conversation";
|
||||
assist_pipeline = getComponentDeps "frontend";
|
||||
automation = getComponentDeps "frontend" ++ getComponentDeps "mobile_app";
|
||||
axis = getComponentDeps "deconz";
|
||||
backup = getComponentDeps "homeassistant_hardware";
|
||||
bluetooth = getComponentDeps "switchbot";
|
||||
braviatv = getComponentDeps "ssdp";
|
||||
bthome = getComponentDeps "frontend";
|
||||
|
|
@ -28,6 +31,7 @@ let
|
|||
emulated_hue = [
|
||||
defusedxml
|
||||
];
|
||||
esphome = getComponentDeps "homeassistant_hardware";
|
||||
gardena_bluetooth = getComponentDeps "husqvarna_automower_ble";
|
||||
go2rtc = [
|
||||
tqdm
|
||||
|
|
@ -44,7 +48,11 @@ let
|
|||
homeassistant_sky_connect = getComponentDeps "zha";
|
||||
homeassistant_yellow = getComponentDeps "zha";
|
||||
homekit = getComponentDeps "frontend";
|
||||
http = getComponentDeps "cloud" ++ getComponentDeps "frontend";
|
||||
http = concatMap getComponentDeps [
|
||||
"cloud"
|
||||
"frontend"
|
||||
"homeassistant_hardware"
|
||||
];
|
||||
intelliclima = getComponentDeps "intellifire";
|
||||
logbook = getComponentDeps "alexa";
|
||||
lovelace = getComponentDeps "frontend" ++ [
|
||||
|
|
@ -54,9 +62,11 @@ let
|
|||
mastodon = concatMap getComponentDeps [
|
||||
"stream"
|
||||
];
|
||||
matter = getComponentDeps "homeassistant_hardware";
|
||||
miele = getComponentDeps "cloud";
|
||||
mobile_app = getComponentDeps "frontend";
|
||||
mopeka = getComponentDeps "switchbot";
|
||||
mqtt = getComponentDeps "homeassistant_hardware";
|
||||
nest = [
|
||||
av
|
||||
];
|
||||
|
|
@ -65,8 +75,14 @@ let
|
|||
pymetno
|
||||
radios
|
||||
rpi-bad-power
|
||||
];
|
||||
]
|
||||
++ getComponentDeps "homeassistant_hardware"
|
||||
++ getComponentDeps "usb";
|
||||
open_router = getComponentDeps "ai_task";
|
||||
osoenergy = [
|
||||
# loguru wants to write into HOME
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
raspberry_pi = [
|
||||
rpi-bad-power
|
||||
];
|
||||
|
|
@ -91,10 +107,14 @@ let
|
|||
yolink = getComponentDeps "cloud";
|
||||
zeroconf = getComponentDeps "shelly";
|
||||
zha = getComponentDeps "deconz" ++ getComponentDeps "frontend";
|
||||
zwave_js = getComponentDeps "frontend";
|
||||
zwave_js = getComponentDeps "frontend" ++ getComponentDeps "homeassistant_hardware";
|
||||
};
|
||||
|
||||
extraDisabledTestPaths = {
|
||||
bluetooth = [
|
||||
# [2026.7.1] Fails to replace HCI device after advertisement became stale
|
||||
"tests/components/bluetooth/test_manager.py::test_switching_adapters_based_on_stale_with_discovered_interval"
|
||||
];
|
||||
influxdb = [
|
||||
# These tests fail because they check for the number of warnings in the
|
||||
# logs and there is an extra warning in the logs:
|
||||
|
|
@ -122,6 +142,10 @@ let
|
|||
};
|
||||
|
||||
extraDisabledTests = {
|
||||
bsblan = [
|
||||
# [2026.7.1] outdated snapshot
|
||||
"test_diagnostics"
|
||||
];
|
||||
conversation = lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
# intent fixture mismatch on aarch64
|
||||
"test_error_no_device_on_floor"
|
||||
|
|
@ -139,6 +163,10 @@ let
|
|||
# https://github.com/home-assistant/core/pull/172909
|
||||
"test_upload_image_device_not_in_range"
|
||||
];
|
||||
smlight = [
|
||||
# [2026.7.1] outdated snapshot
|
||||
"test_entry_diagnostics"
|
||||
];
|
||||
teslemetry = [
|
||||
# [2026.6.4] http://github.com/home-assistant/core/commit/a33a92982af19e682a0d0fa7bec0cb16929c00d1
|
||||
"test_sensors"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue