Trying to add spotify back in
This commit is contained in:
parent
2e19e77bec
commit
9b12470cea
|
@ -1,52 +1,48 @@
|
||||||
# play_skylars_christmas_playlist:
|
play_skylars_christmas_playlist:
|
||||||
# sequence:
|
sequence:
|
||||||
# - service: media_player.volume_set
|
- service: media_player.volume_set
|
||||||
# data:
|
data:
|
||||||
# entity_id: media_player.spotify
|
entity_id: media_player.spotify
|
||||||
# volume_level: '0.40'
|
volume_level: .4
|
||||||
# - service: media_player.select_source
|
- service: media_player.select_source
|
||||||
# data_template:
|
data_template:
|
||||||
# entity_id: media_player.spotify
|
entity_id: media_player.spotify
|
||||||
# source: '{% if is_state("input_select.spotify_source", "Everywhere") %} Everywhere
|
source: '{% if is_state("input_select.spotify_source", "Everywhere") %} Everywhere
|
||||||
# {% elif is_state("input_select.spotify_source", "Living Room") %} Living Room
|
{% elif is_state("input_select.spotify_source", "Living Room") %} Living Room
|
||||||
# {% elif is_state("input_select.spotify_source", "Kitchen") %} Kitchen {% elif
|
{% elif is_state("input_select.spotify_source", "Kitchen") %} Kitchen {% elif
|
||||||
# is_state("input_select.spotify_source", "Master Bedroom") %} Master Bedroom
|
is_state("input_select.spotify_source", "Master Bedroom") %} Master Bedroom
|
||||||
# {% endif %}
|
{% endif %}'
|
||||||
|
- service: media_player.play_media
|
||||||
# '
|
data_template:
|
||||||
# - service: media_player.play_media
|
entity_id: media_player.spotify
|
||||||
# data_template:
|
media_content_type: playlist
|
||||||
# entity_id: media_player.spotify
|
media_content_id: spotify:user:spotify:playlist:2lmfykOn8EK0Ow8iH9XHLa
|
||||||
# media_content_type: playlist
|
- service: media_player.shuffle_set
|
||||||
# media_content_id: spotify:user:spotify:playlist:2lmfykOn8EK0Ow8iH9XHLa
|
data:
|
||||||
# - service: media_player.shuffle_set
|
entity_id: media_player.spotify
|
||||||
# data:
|
shuffle: '{% if is_state("input_boolean.shuffle_spotify", "On") %} True {% elif
|
||||||
# entity_id: media_player.spotify
|
is_state("input_select.shuffle_spotify", "Off") %} False {% endif %}'
|
||||||
# shuffle: '{% if is_state("input_boolean.shuffle_spotify", "On") %} True {% elif
|
play_skylars_playlist:
|
||||||
# is_state("input_select.shuffle_spotify", "Off") %} False {% endif %}
|
sequence:
|
||||||
|
- service: media_player.volume_set
|
||||||
# '
|
data:
|
||||||
# play_skylars_playlist:
|
entity_id: media_player.spotify
|
||||||
# sequence:
|
volume_level: .4
|
||||||
# - service: media_player.volume_set
|
- service: media_player.select_source
|
||||||
# data:
|
data_template:
|
||||||
# entity_id: media_player.spotify
|
entity_id: media_player.spotify
|
||||||
# volume_level: '0.40'
|
source: '{% if is_state("input_select.spotify_source", "Everywhere") %} Everywhere
|
||||||
# - service: media_player.select_source
|
{% elif is_state("input_select.spotify_source", "Living Room") %} Living Room
|
||||||
# data_template:
|
{% elif is_state("input_select.spotify_source", "Kitchen") %} Kitchen {% elif
|
||||||
# entity_id: media_player.spotify
|
is_state("input_select.spotify_source", "Master Bedroom") %} Master Bedroom
|
||||||
# source: '{% if is_state("input_select.spotify_source", "Everywhere") %} Everywhere
|
{% endif %}'
|
||||||
# {% elif is_state("input_select.spotify_source", "Living Room") %} Living Room
|
- service: media_player.play_media
|
||||||
# {% elif is_state("input_select.spotify_source", "Kitchen") %} Kitchen {% elif
|
data_template:
|
||||||
# is_state("input_select.spotify_source", "Master Bedroom") %} Master Bedroom
|
entity_id: media_player.spotify
|
||||||
# {% endif %}'
|
media_content_type: playlist
|
||||||
# - service: media_player.play_media
|
media_content_id: spotify:user:spotify:playlist:0hYKkmUpFFG37TtFX23cMM
|
||||||
# data_template:
|
- service: media_player.shuffle_set
|
||||||
# entity_id: media_player.spotify
|
data:
|
||||||
# media_content_type: playlist
|
entity_id: media_player.spotify
|
||||||
# media_content_id: spotify:user:spotify:playlist:0hYKkmUpFFG37TtFX23cMM
|
shuffle: '{% if is_state("input_boolean.shuffle_spotify", "On") %} True {% elif
|
||||||
# - service: media_player.shuffle_set
|
is_state("input_select.shuffle_spotify", "Off") %} False {% endif %}'
|
||||||
# data:
|
|
||||||
# entity_id: media_player.spotify
|
|
||||||
# shuffle: '{% if is_state("input_boolean.shuffle_spotify", "On") %} True {% elif
|
|
||||||
# is_state("input_select.shuffle_spotify", "Off") %} False {% endif %}'
|
|
Loading…
Reference in New Issue