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

[RU] Turn on/off light only works for the entire area #1698

Open
nordeep opened this issue Nov 30, 2023 · 3 comments
Open

[RU] Turn on/off light only works for the entire area #1698

nordeep opened this issue Nov 30, 2023 · 3 comments
Assignees
Labels

Comments

@nordeep
Copy link

nordeep commented Nov 30, 2023

Seems RU translation hasn't been updated in a while.

In particular, Turn on/off lights works only for entire area.

intents:
  HassTurnOn:
    data:
      - sentences:
          - "<turn_on> [весь] свет <area>"
          - "<turn_on> <area> [весь] свет"
        slots:
          domain: "light"
        response: "lights_area"
@HepoH3 HepoH3 self-assigned this Dec 5, 2023
@HepoH3 HepoH3 added the lang: ru label Dec 5, 2023
@HepoH3
Copy link
Member

HepoH3 commented Dec 5, 2023

Thank you for your report!
Yep, there was no interest to this project from Russian community (I believe because of yandex_smart_home integration), so I stopped when reached minimal viable version.

I'll dig into this problem this week.

@HepoH3
Copy link
Member

HepoH3 commented Dec 24, 2023

I apologize that it took me a long time to respond.
As I can see, this behavior is "by design". You can turn on/off individual light by its name. I've checked out English sentences:

# Turn on all lights in the same area as a satellite device
- sentences:
- "<turn> on[ the] lights<in_here>"
- "<turn>[ the] lights( on;<in_here>)"
response: "lights_area"
expansion_rules:
in_here: "[[ in] here]"
slots:
domain: "light"
requires_context:
area:
slot: true

There is a sentence to turn/off all the lights in the current room. I've translated this sentence in #1822.

@mitrokun
Copy link
Contributor

Пока эта задача решается использованием custom sentences или созданием автоматизации с запросом

-Выключи весь свет в (доме|квартире)

и действием

service: light.turn_off
data: {}
target:
  entity_id: all

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