diff options
Diffstat (limited to 'blueprints/script/devices/kodi-alarm.yaml')
-rw-r--r-- | blueprints/script/devices/kodi-alarm.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
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 |