From 3968ce2cde26bbc451c5c612787e28fcc5b6b84d Mon Sep 17 00:00:00 2001 From: Nikolay Miroshnichenko Date: Wed, 16 Sep 2026 18:32:59 +0200 Subject: [PATCH] tests: fix-B fixture needs a lighting word in the name cb226a0 went out with this test failing: "Ceiling - on/off" carries no lighting token, so the classifier correctly leaves it uncategorised and it stays a switch. The name now says "Ceiling light". The code in cb226a0 is unchanged; the command that committed it swallowed the test's exit status through a pipe. Co-Authored-By: Claude Opus 5 --- tests/test_real_house_fixes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_real_house_fixes.py b/tests/test_real_house_fixes.py index fea5833..99d75ab 100644 --- a/tests/test_real_house_fixes.py +++ b/tests/test_real_house_fixes.py @@ -66,8 +66,8 @@ import yaml from nickol_knx_mcp.generate_ha import generate_ha_yaml pB = _project([ - ("1/0/1", "1.05 Bedroom - Ceiling - on/off", 1, 1), - ("1/1/1", "1.05 Bedroom - Ceiling - on/off status", 1, 11), + ("1/0/1", "1.05 Bedroom - Ceiling light - on/off", 1, 1), + ("1/1/1", "1.05 Bedroom - Ceiling light - on/off status", 1, 11), ("5/0/1", "Garden pump - on/off", 1, 1), ]) knxB = yaml.safe_load(generate_ha_yaml(pB)["yaml"].split("\n\n", 1)[1])["knx"]