mirror of
https://github.com/NickoScope/nickol-knx-mcp.git
synced 2026-09-29 19:31:12 +02:00
tests: fix-B fixture needs a lighting word in the name
cb226a0went 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 incb226a0is 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:
co-authored by
Claude Opus 5
parent
cb226a008f
commit
3968ce2cde
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user