Skip to content

Commit f6aacf0

Browse files
authored
[DE] Add requires_context for very generic scene sentence (#3738)
* Add requires_context for very generic scene sentence * fix: tests for licht an won't fail anymore interestingly one of the to be failing sentences was already present in the succeeding light tests... * fix dupliacte sentences so... actually both sentences were present in the ligh tests already and suceeded there... * undo bad formatting Refactor code to improve readability and maintainability.
1 parent ea00d71 commit f6aacf0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sentences/de/scene_HassTurnOn.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ intents:
2121
- "führe <name> <szene> <area> aus"
2222
- "<aktivieren>[ <szene>] <name> <area>"
2323
- "<aktivieren> <name> <szene> <area>"
24+
requires_context:
25+
domain: scene
2426
slots:
2527
domain: scene
2628
response: scene

tests/de/_test_failures.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
language: de
2-
sentences:
3-
- "Licht in der Küche an"
4-
- "Licht Küche an"
2+
sentences: []

0 commit comments

Comments
 (0)