Created
October 22, 2021 04:01
-
-
Save AlexxIT/6eea8d116742772b20adf5f59af784eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script: | |
alarm: | |
sequence: | |
- service: media_player.play_media | |
entity_id: media_player.yandex_station_mini # замените на вашу станцию | |
data_template: | |
media_content_id: Какие у меня будильники | |
media_content_type: "question:alarm" | |
automation: | |
- trigger: | |
platform: event | |
event_type: yandex_station_response | |
event_data: | |
request_id: alarm | |
action: | |
service: persistent_notification.create | |
data: | |
message: "{{ trigger.event.data.text }}" |
Любой созданный скрипт появляется в объектах и запускается из GUI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
а как запустить ? не подскажете?