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 <noreply@anthropic.com>
This commit is contained in:
Nikolay Miroshnichenko
2026-09-16 18:32:59 +02:00
co-authored by Claude Opus 5
parent cb226a008f
commit 3968ce2cde
+2 -2
View File
@@ -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"]