From 2c0c331eb7b7a03152309bbbd4e0fee157e8d86c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Jan 2023 07:45:02 +0400 Subject: Initial configuration --- blueprints/script/devices/kodi-alarm.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 blueprints/script/devices/kodi-alarm.yaml (limited to 'blueprints/script/devices/kodi-alarm.yaml') diff --git a/blueprints/script/devices/kodi-alarm.yaml b/blueprints/script/devices/kodi-alarm.yaml new file mode 100644 index 0000000..48ecd1c --- /dev/null +++ b/blueprints/script/devices/kodi-alarm.yaml @@ -0,0 +1,29 @@ +blueprint: + name: Kodi - Play Alarm + description: Stream photos from security camera + domain: script + input: + player: + name: Player + description: KoDi Media Player + selector: + entity: + domain: media_player + song: + name: Player + description: KoDi Media Player + selector: + media: {} + +mode: restart +sequence: + - service: media_player.volume_set + data: + volume_level: 1 + target: + entity_id: !input player + - service: media_player.play_media + target: + entity_id: !input player + data: + !input song -- cgit v1.2.3