From 31ca7d375344e62df00b7160aa8792097d59c8cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 22 May 2026 10:46:09 -0700 Subject: [PATCH] home-assistant: 2026.5.3 -> 2026.5.4 Diff: https://github.com/home-assistant/core/compare/2026.5.3...2026.5.4 Changelog: https://github.com/home-assistant/core/releases/tag/2026.5.4 --- .../home-assistant/component-packages.nix | 2 +- pkgs/servers/home-assistant/default.nix | 20 ++++++++++++++++--- pkgs/servers/home-assistant/tests.nix | 5 +++++ 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 5dc925bea9e1..4f36bf596988 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2026.5.3"; + version = "2026.5.4"; components = { "3_day_blinds" = ps: with ps; [ diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index dfc6e7a1e9f1..e930d470b54a 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -4,6 +4,7 @@ callPackage, fetchFromGitHub, fetchPypi, + fetchpatch, python314, replaceVars, ffmpeg-headless, @@ -262,7 +263,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2026.5.3"; + hassVersion = "2026.5.4"; in python.pkgs.buildPythonApplication rec { @@ -283,13 +284,13 @@ python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; tag = version; - hash = "sha256-U3P97V/3+4eKMPyT6JzqLiDgei84iEOyWdknFvJBn1o="; + hash = "sha256-Z5FUkljaWRr9tfBb6RXJCC86ZbyNkw0PvUcOl+bZ2cc="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-SAeqGo+fTQG//Abix+6pjHKQJY1XBrNL7IexgqoXsYc="; + hash = "sha256-o5S6rnOTqzPLZpMBxgmp9IpmLlEHLvHTH68ql2EkVbI="; }; build-system = with python.pkgs; [ @@ -318,6 +319,19 @@ python.pkgs.buildPythonApplication rec { (replaceVars ./patches/ffmpeg-path.patch { ffmpeg = "${lib.getExe ffmpeg-headless}"; }) + + (fetchpatch { + name = "2026.5.4-shelly-tests-fix.patch"; + url = "https://github.com/home-assistant/core/commit/072e9b51a2321b0d4489bae6f1e04f7ed845222f.patch"; + includes = [ "tests/components/shelly/test_coordinator.py" ]; + hash = "sha256-0XQdw2MnwzrHKYY06TotfJJem0bqremmi7k8SyVQVGA="; + }) + + (fetchpatch { + name = "2026.5.4-homewizard-tests-fix.patch"; + url = "https://github.com/home-assistant/core/commit/e796d9c46744097585bfada483108a55ae16344a.patch"; + hash = "sha256-T0Nb6LcL/21WdUm8RmczhHaVX92n5O/rpMdpqDVQ2VU="; + }) ]; postPatch = '' diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index a4c17265f8cd..c1c60a74c2d8 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -142,6 +142,11 @@ let # [2026.5.2] Failed: Description not found for placeholder `modulation` in component.honeywell_string_lights.config.abort.no_compatible_transmitters" "test_no_compatible_transmitters" ]; + lutron_caseta = [ + # [2026.5.4] creates binary_sensor.basement_bedroom_left_shade_battery + # expects binary_sensor.basement_bedroom_basement_bedroom_left_shade_battery + "test_battery_sensor_handles_bridge_response_error" + ]; novy_cooker_hood = [ # [2026.5.2] Failed: Description not found for placeholder `modulation` in component.novy_cooker_hood.config.abort.no_compatible_transmitters "test_no_compatible_transmitters"