diff --git a/sentences/pl/homeassistant_HassCancelAllTimers.yaml b/sentences/pl/homeassistant_HassCancelAllTimers.yaml index 5724517ec5..63233de5ef 100644 --- a/sentences/pl/homeassistant_HassCancelAllTimers.yaml +++ b/sentences/pl/homeassistant_HassCancelAllTimers.yaml @@ -2,10 +2,21 @@ language: pl intents: HassCancelAllTimers: data: + # All timers - sentences: - " [ moje] " + + # All timers in area - sentences: - " [ moje] " - " [ moje] " - " [ moje] " response: area + + # All timers here (context awareness) + - sentences: + - " [ moje] " + - " [ moje] " + requires_context: + area: + slot: true diff --git a/tests/pl/homeassistant_HassCancelAllTimers.yaml b/tests/pl/homeassistant_HassCancelAllTimers.yaml index 99dd94a2f1..ec70c1a75c 100644 --- a/tests/pl/homeassistant_HassCancelAllTimers.yaml +++ b/tests/pl/homeassistant_HassCancelAllTimers.yaml @@ -22,3 +22,15 @@ tests: - Kuchni - Kuchnia response: Nie anulowano żadnego minutnika w kuchni + + - sentences: + - "wyłącz tutaj wszystkie minutniki" + - "anuluj wszystkie moje minutniki w tym pokoju" + - "przerwij w tym pomieszczeniu wszystkie moje minutniki" + intent: + name: HassCancelAllTimers + context: + area: Kuchni + slots: + area: Kuchni + response: Nie anulowano żadnego minutnika