mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config out of subfolder
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
v3_horizontal_stack_card:
|
||||
card:
|
||||
type: custom:mod-card
|
||||
card_size: 12
|
||||
card:
|
||||
type: horizontal-stack
|
||||
cards: "[[cards]]"
|
||||
card_mod:
|
||||
style:
|
||||
hui-horizontal-stack-card:
|
||||
$: |
|
||||
#root {
|
||||
max-width: 100vw;
|
||||
padding-bottom: 10px;
|
||||
overflow: scroll
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
v3_media_with_controls:
|
||||
default:
|
||||
- title: "Media"
|
||||
- player_name:
|
||||
card:
|
||||
type: vertical-stack
|
||||
title: "[[title]]"
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: sonos_media_player
|
||||
variables:
|
||||
- player: "[[player]]"
|
||||
- name: "[[player_name]]"
|
||||
- sync_volume: false
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Volume
|
||||
- margin_left: 8px
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
show_state: false
|
||||
entity: script.sonos_volume_10
|
||||
icon: mdi:volume-medium
|
||||
name: Vol 10
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_volume_10
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 8px
|
||||
- type: custom:button-card
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
show_state: false
|
||||
entity: script.sonos_volume_20
|
||||
icon: mdi:volume-high
|
||||
name: Vol 20
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_volume_20
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Group
|
||||
- margin_left: 8px
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
entity: binary_sensor.sonos_is_bedroom_master
|
||||
name: Bedroom
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_bedroom
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 8px
|
||||
- type: custom:button-card
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
entity: binary_sensor.sonos_is_living_room_master
|
||||
name: TV
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_tv
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Playlists
|
||||
- margin_left: 16px
|
||||
- type: custom:button-card
|
||||
template: v3_pill
|
||||
entity: script.music_play
|
||||
name: Chill
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: v3_pill
|
||||
entity: script.music_play
|
||||
name: Chill 2
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.music_play
|
||||
service_data:
|
||||
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
|
||||
name: Retro
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.music_play
|
||||
service_data:
|
||||
playlist: "Retro"
|
||||
styles:
|
||||
card:
|
||||
- margin-bottom: 8px
|
||||
@@ -0,0 +1,18 @@
|
||||
v3_section_title:
|
||||
default:
|
||||
margin_left: '0'
|
||||
card:
|
||||
type: markdown
|
||||
content: >
|
||||
### [[title]]
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
ha-card > ha-markdown {
|
||||
font-size: 18px;
|
||||
padding: 16px 6px 6px [[margin_left]];
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
v3_title:
|
||||
card:
|
||||
type: markdown
|
||||
content: >
|
||||
## [[title]]
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
ha-card > ha-markdown {
|
||||
font-size: 22px;
|
||||
padding-left: 0;
|
||||
padding-bottom: 14px;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
Reference in New Issue
Block a user