From 8da33799599475e6a128bf57526cd73c5885ecb0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 27 Sep 2026 20:04:14 +0200 Subject: [PATCH] home-assistant-custom-components.meshcore: 2.8.0 -> 2.10.0 https://github.com/meshcore-dev/meshcore-ha/releases/tag/v2.9.0 https://github.com/meshcore-dev/meshcore-ha/releases/tag/v2.10.0 --- .../custom-components/meshcore/package.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/custom-components/meshcore/package.nix b/pkgs/servers/home-assistant/custom-components/meshcore/package.nix index 72074dbc23a0..8088a811b432 100644 --- a/pkgs/servers/home-assistant/custom-components/meshcore/package.nix +++ b/pkgs/servers/home-assistant/custom-components/meshcore/package.nix @@ -8,19 +8,20 @@ paho-mqtt, pynacl, pytest-asyncio, + pytest-homeassistant-custom-component, pytestCheckHook, }: buildHomeAssistantComponent (finalAttrs: { owner = "meshcore-dev"; domain = "meshcore"; - version = "2.8.0"; + version = "2.10.0"; src = fetchFromGitHub { owner = "meshcore-dev"; repo = "meshcore-ha"; tag = "v${finalAttrs.version}"; - hash = "sha256-K1DYBcuAilcKBzQVSUQvoA9OoxUbtfISYNY8IwgUdZk="; + hash = "sha256-I4AUa66/XmXSb40suDGab6om2m/qJiUysXQdniT42bw="; }; dependencies = [ @@ -37,9 +38,22 @@ buildHomeAssistantComponent (finalAttrs: { nativeCheckInputs = [ pytest-asyncio + pytest-homeassistant-custom-component pytestCheckHook ]; + disabledTestPaths = [ + # https://github.com/meshcore-dev/meshcore-ha/issues/363 + "tests_integration/test_dedup_eviction.py" + "tests_integration/test_execute_command_authorization.py" + "tests_integration/test_repeater_firmware_button.py" + "tests_integration/test_multihub_messaging.py" + "tests_integration/test_create_contact_sensor.py" + "tests_integration/test_config_flow.py" + "tests/test_cli_command.py::test_command_ui_records_when_flag_set" + "tests/test_cli_command.py::test_command_ui_noop_on_empty_input" + ]; + meta = { changelog = "https://github.com/meshcore-dev/meshcore-ha/releases/tag/${finalAttrs.src.tag}"; description = "Home Assistant integration for MeshCore";