mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Add second playlist
This commit is contained in:
@@ -117,6 +117,7 @@
|
|||||||
- input_text.wake_up_spotify_playlist
|
- input_text.wake_up_spotify_playlist
|
||||||
- input_number.wake_up_volume
|
- input_number.wake_up_volume
|
||||||
- input_number.bathroom_high_volume
|
- input_number.bathroom_high_volume
|
||||||
|
- input_text.bedroom_2_playlist
|
||||||
|
|
||||||
- type: custom:decluttering-card
|
- type: custom:decluttering-card
|
||||||
template: v3_section_title
|
template: v3_section_title
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
input_text:
|
||||||
|
bedroom_2_playlist:
|
||||||
|
name: Bedroom playlist
|
||||||
|
icon: mdi:spotify
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: Bedroom · Bedside Second Switch
|
- alias: Bedroom · Bedside Second Switch
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
@@ -16,8 +21,16 @@ automation:
|
|||||||
brightness_pct: 100
|
brightness_pct: 100
|
||||||
|
|
||||||
double_click:
|
double_click:
|
||||||
- service: media_player.media_play_pause
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.bedroom_ambient_pink
|
||||||
|
- service: media_player.unjoin
|
||||||
entity_id: media_player.master_bedroom
|
entity_id: media_player.master_bedroom
|
||||||
|
- service: media_player.play_media
|
||||||
|
target:
|
||||||
|
entity_id: media_player.master_bedroom
|
||||||
|
data_template:
|
||||||
|
media_content_type: "music"
|
||||||
|
media_content_id: "{{ states('input_text.bedroom_2_playlist') }}"
|
||||||
|
|
||||||
hold:
|
hold:
|
||||||
- service: script.toggle_bedroom_mode
|
- service: script.toggle_bedroom_mode
|
||||||
|
|||||||
Reference in New Issue
Block a user