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

Как использовать числительную переменную в данных? #2

Closed
kevinblo opened this issue Aug 10, 2020 · 1 comment

Comments

@kevinblo
Copy link

kevinblo commented Aug 10, 2020

Пытюсь открыть жалюзи на х%. Как правильно "х" передать? Проговаривает правильно.

 cover_balcony:
   async_action: true
   speech:
     text: >-
       Открываю на {{ x }} процентов
   action:
     - service: cover.set_cover_position
       data:
         entity_id: cover.balcony_roll_cover_2
         position: x
@AlexxIT
Copy link
Owner

AlexxIT commented Mar 15, 2021

Есть пример калькулятора в документации

@AlexxIT AlexxIT closed this as completed Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants