Martin Weinelt
2026-09-27 20:04:14 +02:00
parent edd8637d47
commit 8da3379959

View File

@@ -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";