mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Dashboards refactoring
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
media_with_controls:
|
||||
card:
|
||||
type: vertical-stack
|
||||
title: Media
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: sonos_media_player
|
||||
variables:
|
||||
- player: "[[player]]"
|
||||
- sync_volume: false
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: sensor.philip_defranco
|
||||
name: PDS
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.youtube_play_latest_pds
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.music_play
|
||||
name: Chill
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.music_play
|
||||
name: Retro
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.music_play
|
||||
service_data:
|
||||
playlist: "Retro"
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- xs
|
||||
- with_state_background
|
||||
entity: binary_sensor.sonos_is_bedroom_master
|
||||
name: Bedroom
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_bedroom
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- xs
|
||||
- with_state_background
|
||||
entity: binary_sensor.sonos_is_living_room_master
|
||||
name: TV
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_tv
|
||||
Reference in New Issue
Block a user