Skip to content

Instantly share code, notes, and snippets.

@kneath
Created August 4, 2022 18:17
Show Gist options
  • Save kneath/58df4c6d975d16c59ff522fa60b13c57 to your computer and use it in GitHub Desktop.
Save kneath/58df4c6d975d16c59ff522fa60b13c57 to your computer and use it in GitHub Desktop.
Random TNG
alias: Random TNG
sequence:
- service: media_player.select_source
data:
source: Plex
target:
entity_id: media_player.living_room_apple_tv
- service: media_player.play_media
data:
media_content_type: EPISODE
media_content_id: >-
{ "library_name": "TV Shows", "show_name": "Star Trek: The Next
Generation", "shuffle": "1" }
target:
entity_id: media_player.plex_plex_for_apple_tv_living_room
mode: queued
icon: mdi:death-star-variant
max: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment