From 2bfe49e3973641f38e0b6f8a8b37f17f4d3a3dee Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 24 May 2025 01:56:34 +0200 Subject: [PATCH] home-assistant: 2025.5.2 -> 2025.5.3 https://github.com/home-assistant/core/releases/tag/2025.5.3 --- .../home-assistant/component-packages.nix | 15 +++++++++++- pkgs/servers/home-assistant/default.nix | 23 +++++++++++++------ pkgs/servers/home-assistant/tests.nix | 10 +++++--- 3 files changed, 37 insertions(+), 11 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index b58753f2464e..24a0bc183ba3 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 = "2025.5.2"; + version = "2025.5.3"; components = { "3_day_blinds" = ps: with ps; [ @@ -4087,7 +4087,19 @@ ]; "onedrive" = ps: with ps; [ + aiohasupervisor + cronsim + ha-ffmpeg + hass-nabucasa + hassil + home-assistant-intents + mutagen onedrive-personal-sdk + pymicro-vad + pyspeex-noise + python-matter-server + pyturbojpeg + securetar ]; "onewire" = ps: with ps; [ @@ -6899,6 +6911,7 @@ "elgato" "elkm1" "elmax" + "elvia" "emoncms" "emonitor" "emulated_hue" diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 37069221a449..002257de09c3 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -163,12 +163,12 @@ let }; }); - openhomedevice = super.openhomedevice.overridePythonAttrs (oldAttrs: rec { - version = "2.2"; + mcp = super.mcp.overridePythonAttrs (oldAttrs: rec { + version = "1.5.0"; src = fetchFromGitHub { inherit (oldAttrs.src) owner repo; - rev = "refs/tags/${version}"; - hash = "sha256-GGp7nKFH01m1KW6yMkKlAdd26bDi8JDWva6OQ0CWMIw="; + tag = "v${version}"; + hash = "sha256-Z2NN6k4mD6NixDON1MUOELpBZW9JvMvFErcCbFPdg2o="; }; }); @@ -194,6 +194,15 @@ let doCheck = false; # no tests }); + openhomedevice = super.openhomedevice.overridePythonAttrs (oldAttrs: rec { + version = "2.2"; + src = fetchFromGitHub { + inherit (oldAttrs.src) owner repo; + rev = "refs/tags/${version}"; + hash = "sha256-GGp7nKFH01m1KW6yMkKlAdd26bDi8JDWva6OQ0CWMIw="; + }; + }); + plexapi = super.plexapi.overrideAttrs (oldAttrs: rec { version = "4.15.16"; src = fetchFromGitHub { @@ -377,7 +386,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2025.5.2"; + hassVersion = "2025.5.3"; in python.pkgs.buildPythonApplication rec { @@ -398,13 +407,13 @@ python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; tag = version; - hash = "sha256-el5s82R4MuTjUnMVXRQj4PhPxJxHoL6Jqvc6XRnJl8w="; + hash = "sha256-qqPO7dr+Sb1RKYoOV7MhT2E1FcW7lAKTTB0T+UzLwzk="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-lddnAM3fja9enPYRSonwSe1aG8t55jSJQNveWPwrhOE="; + hash = "sha256-8WusUfZEyoBPltVrDpDQVkbIFEHn1GGdA4Pt0Zb1+Fo="; }; build-system = with python.pkgs; [ diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index 303aff68c116..a2bb4400aa68 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -63,6 +63,10 @@ let }; extraDisabledTests = { + forecast_solar = [ + # language fixture mismatch + "test_enabling_disable_by_default" + ]; sensor = [ # Failed: Translation not found for sensor "test_validate_unit_change_convertible" @@ -78,9 +82,9 @@ let # tries to retrieve file from github "test_non_text_stdout_capture" ]; - stream = [ - # crashes with x265>=4.0 - "test_h265_video_is_hvc1" + smartthings = [ + # outdated snapshots + "test_all_entities" ]; websocket_api = [ # AssertionError: assert 'unknown_error' == 'template_error'