Streamline main dashboard meida

This commit is contained in:
2020-06-07 23:00:49 +03:00
parent 034ff4aed8
commit d8b6648ecc
@@ -303,65 +303,12 @@
- type: vertical-stack - type: vertical-stack
cards: cards:
- type: vertical-stack - type: vertical-stack
title: Media
cards: cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: default
entity: sensor.philip_defranco
name: Latest PDS
tap_action:
action: call-service
service: script.youtube_play_latest_pds
- type: custom:button-card
template: default
entity: script.music_play
name: Chill
icon: mdi:music
tap_action:
action: toggle
- type: custom:button-card
template: default
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: default
entity: script.tv_fireplace
name: Fireplace
tap_action:
action: toggle
- type: horizontal-stack
cards:
- type: custom:button-card
template: default
entity: binary_sensor.sonos_is_bedroom_master
name: Sonos from Bedroom
icon: mdi:speaker-multiple
tap_action:
action: call-service
service: script.sonos_join_bedroom
- type: custom:button-card
template: default
entity: binary_sensor.sonos_is_living_room_master
icon: mdi:speaker-multiple
name: Sonos from TV
tap_action:
action: call-service
service: script.sonos_join_tv
- type: custom:decluttering-card - type: custom:decluttering-card
template: sonos_media_player template: media_with_controls
variables: variables:
- player: media_player.master_bedroom - player: media_player.master_bedroom
- name: Bedroom - player_name: Bathroom
- type: custom:decluttering-card - type: custom:decluttering-card
template: sonos_media_player_small template: sonos_media_player_small