Skip to content

Instantly share code, notes, and snippets.

@AlexxIT
Last active November 3, 2023 20:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexxIT/5fb8fd32378cdc16c729f15d7a1bab28 to your computer and use it in GitHub Desktop.
Save AlexxIT/5fb8fd32378cdc16c729f15d7a1bab28 to your computer and use it in GitHub Desktop.
Установка таймера в Яндекс Алисе
yandex_station:
username: myuser
password: mypass
input_datetime:
alice_timer:
name: Время таймера
has_date: false
has_time: true
script:
yandex_timer:
alias: Установить таймер
sequence:
- service: media_player.play_media
entity_id: media_player.yandex_station # поменяйте на вашу станцию
data_template:
media_content_id: Включи свет в {{ states('input_datetime.alice_timer')[:5] }}
media_content_type: command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment