Add jazz button in media controls

This commit is contained in:
2022-04-30 21:07:26 +03:00
parent 795861d6ca
commit 8ab6d3ede3
3 changed files with 36 additions and 0 deletions
@@ -98,6 +98,18 @@ v3_media_with_controls:
playlist: "Songs for a Romantic Evening"
shuffle: true
volume_level: 0.1
- type: custom:button-card
template: v3_pill
entity: script.music_play
name: Jazz
icon: mdi:music
tap_action:
action: call-service
service: script.music_play
service_data:
playlist: "Smooth Romantic Evening"
shuffle: true
volume_level: 0.1
- type: custom:button-card
template: v3_pill
entity: script.music_play
@@ -318,6 +318,18 @@ card:
playlist: "Songs for a Romantic Evening"
shuffle: true
volume_level: 0.1
- type: custom:button-card
template: v3_xs_button
entity: script.music_play
name: Jazz
icon: mdi:music
tap_action:
action: call-service
service: script.music_play
service_data:
playlist: "Smooth Romantic Evening"
shuffle: true
volume_level: 0.1
- type: custom:button-card
template: v3_xs_button
entity: script.music_play
@@ -308,6 +308,18 @@ card:
playlist: "Songs for a Romantic Evening"
shuffle: true
volume_level: 0.1
- type: custom:button-card
template: v3_xs_button
entity: script.music_play
name: Jazz
icon: mdi:music
tap_action:
action: call-service
service: script.music_play
service_data:
playlist: "Smooth Romantic Evening"
shuffle: true
volume_level: 0.1
- type: custom:button-card
template: v3_xs_button
entity: script.music_play