Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: play playlist alexa
- sequence:
- - choose:
- - conditions:
- - condition: state
- entity_id: input_select.media_player
- state: Soggiorno
- sequence:
- - action: media_player.play_media
- data:
- media_content_type: custom
- media_content_id: play "{{ states('input_text.playlist') }}"
- target:
- entity_id: media_player.echo_show_in_soggiorno
- - conditions:
- - condition: state
- entity_id: input_select.media_player
- state: Camera
- sequence:
- - action: media_player.play_media
- data:
- media_content_type: custom
- media_content_id: play "{{ states('input_text.playlist') }}"
- target:
- entity_id: media_player.echo_show_di_sergio
- - conditions:
- - condition: state
- entity_id: input_select.media_player
- state: Cameretta
- sequence:
- - action: media_player.play_media
- data:
- media_content_type: custom
- media_content_id: play "{{ states('input_text.playlist') }}"
- target:
- entity_id: media_player.echo_dot
- - conditions:
- - condition: state
- entity_id: input_select.media_player
- state: Studio
- sequence:
- - action: media_player.play_media
- data:
- media_content_type: custom
- media_content_id: play "{{ states('input_text.playlist') }}"
- target:
- entity_id: media_player.echo_show_tina
- - conditions:
- - condition: state
- entity_id: input_select.media_player
- state: Ovunque
- sequence:
- - action: media_player.play_media
- data:
- media_content_type: custom
- media_content_id: play "{{ states('input_text.playlist') }}"
- target:
- entity_id: media_player.ovunque
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement