Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] features area awareness #1815

Closed
chpego opened this issue Dec 19, 2023 · 0 comments
Closed

[FR] features area awareness #1815

chpego opened this issue Dec 19, 2023 · 0 comments
Assignees
Labels

Comments

@chpego
Copy link

chpego commented Dec 19, 2023

image

Impossible to use the feature introduced in Year of the Voice - Chapter 5 (Area awareness), only available in EN/NL, but not for french users.
Intent files seem to be missing the necessary elements

I tried to do it with custom intents by looking at the PR #1632 and #1776 , but it doesn't work.

my code:

---
# Example config/custom_sentences/fr/test.yaml
language: "fr"
intents:
  HassTurnOn:
    data:
      - sentences:
          - "<allume> [la] [les] (<lumiere> | <lumieres>) [ici]"
        slots:
          domain: light
        response: "lights_area"
        requires_context:
          area: "null"
  HassTurnOff:
    data:
      - sentences:
          - "<eteins> [la] [les] (<lumiere> | <lumieres>) [ici]"
        slots:
          domain: light
        response: "lights_area"
        requires_context:
          area: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants