Advertisement
JLindvig

set_initial_options

Oct 4th, 2019
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.43 KB | None | 0 0
  1. script:
  2.   set_initial_options:
  3.     alias: "Set Initial Options"
  4.     sequence:
  5.       - service: rest_command.set_options
  6.         data:
  7.           entity: input_select.media_player
  8.           # Her angiver vi vores elementer som en ordinær JSON liste
  9.           # MEN omgivet af ' ', da vi skal have den overført til rest_command
  10.           # som en string.
  11.           elements: '["Stuens TV","Pigernes TV","Cornelies TV","Nathalies TV"]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement