diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index c30d27c73863..04f90c937090 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.1"; + version = "2025.5.2"; components = { "3_day_blinds" = ps: with ps; [ diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index a64e1de81eb6..37069221a449 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -194,6 +194,16 @@ let doCheck = false; # no tests }); + plexapi = super.plexapi.overrideAttrs (oldAttrs: rec { + version = "4.15.16"; + src = fetchFromGitHub { + owner = "pkkid"; + repo = "python-plexapi"; + tag = version; + hash = "sha256-NwGGNN6LC3gvE8zoVL5meNWMbqZjJ+6PcU2ebJTfJmU="; + }; + }); + # Pinned due to API changes in 0.1.0 poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec { version = "0.0.8"; @@ -367,7 +377,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2025.5.1"; + hassVersion = "2025.5.2"; in python.pkgs.buildPythonApplication rec { @@ -388,13 +398,13 @@ python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; tag = version; - hash = "sha256-/ItMm6/SV0MazK16NfW53XPcIV7ERUUabjcwHBC4c7Y="; + hash = "sha256-el5s82R4MuTjUnMVXRQj4PhPxJxHoL6Jqvc6XRnJl8w="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-zllQ0h1Ws+HNyfBvAAoKtovQtwkr0fNNtnF2pAjRrqM="; + hash = "sha256-lddnAM3fja9enPYRSonwSe1aG8t55jSJQNveWPwrhOE="; }; build-system = with python.pkgs; [ diff --git a/pkgs/servers/home-assistant/frontend.nix b/pkgs/servers/home-assistant/frontend.nix index 2ec702c8272b..79baae724705 100644 --- a/pkgs/servers/home-assistant/frontend.nix +++ b/pkgs/servers/home-assistant/frontend.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { # the frontend version corresponding to a specific home-assistant version can be found here # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json pname = "home-assistant-frontend"; - version = "20250509.0"; + version = "20250516.0"; format = "wheel"; src = fetchPypi { @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "home_assistant_frontend"; dist = "py3"; python = "py3"; - hash = "sha256-tlBdUA3Gj7P6KTjY2UNnWjQqpnwgvAlXC09P7QFR0r0="; + hash = "sha256-KyZE9SmEoAKgaZMRvs83BK73Yo3fqD8O+vMBO4JE+Ng="; }; # there is nothing to strip in this package diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index 2c3ab38831ea..303aff68c116 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -63,6 +63,17 @@ let }; extraDisabledTests = { + sensor = [ + # Failed: Translation not found for sensor + "test_validate_unit_change_convertible" + "test_validate_statistics_unit_change_no_device_class" + "test_validate_statistics_state_class_removed" + "test_validate_statistics_state_class_removed_issue_cleaned_up" + "test_validate_statistics_unit_change_no_conversion" + "test_validate_statistics_unit_change_equivalent_units_2" + "test_update_statistics_issues" + "test_validate_statistics_mean_type_changed" + ]; shell_command = [ # tries to retrieve file from github "test_non_text_stdout_capture" @@ -75,6 +86,10 @@ let # AssertionError: assert 'unknown_error' == 'template_error' "test_render_template_with_timeout" ]; + zeroconf = [ + # multicast socket bind, not possible in the sandbox + "test_subscribe_discovery" + ]; }; extraPytestFlagsArray = { @@ -84,7 +99,7 @@ let ]; bmw_connected_drive = [ # outdated snapshot - "--deselect tests/components/bmw_connected_drive/test_select.py::test_entity_state_attrs" + "--deselect tests/components/bmw_connected_drive/test_binary_sensor.py::test_entity_state_attrs" ]; dnsip = [ # Tries to resolve DNS entries @@ -104,6 +119,14 @@ let # aioserial mock produces wrong state "--deselect tests/components/modem_callerid/test_init.py::test_setup_entry" ]; + openai_conversation = [ + # outdated snapshot + "--deselect tests/components/openai_conversation/test_conversation.py::test_function_call" + ]; + technove = [ + # outdated snapshot + "--deselect tests/components/technove/test_switch.py::test_switches" + ]; }; in lib.listToAttrs (