Untitled
unknown
plain_text
3 years ago
42 kB
61
Indexable
- type: vertical-stack
cards:
####################### Remote Header Block #####################
- type: custom:button-card
name: Remotes
icon: mdi:remote-tv
show_state: false
label: |
[[[
return states['input_select.remotes'].state;
]]]
show_label: true
styles:
card:
- height: 80px
- background-color: transparent
grid:
- grid-template-areas: '"i n" "i n" "i l"'
- grid-template-columns: 0.3fr 1fr
- grid-template-rows: min-content min-content min-content
img_cell:
- align-self: start
- text-align: start
name:
- justify-self: start
- font-size: 28px
- font-weight: 300
label:
- justify-self: start
- font-size: 16px
- font-weight: 300
icon:
- width: 45px
- align-self: start
- text-align: start
############################# MENU ################################
- type: horizontal-stack
cards:
- type: custom:button-card
color: transparent
entity: input_select.remotes
show_name: true
color_type: label-card
name: Living Room
icon: mdi:home-assistant
state:
- icon: mdi:sofa
styles:
icon:
- color: white
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
value: Living Room
- icon: mdi:sofa
styles:
icon:
- color: white
- opacity: 0.5
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
operator: default
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.remotes
option: Living Room
- type: custom:button-card
color: transparent
entity: input_select.remotes
show_name: true
color_type: label-card
name: Porch
icon: mdi:desk
state:
- icon: mdi:desk
styles:
icon:
- color: white
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
value: Office
- icon: mdi:desk
styles:
icon:
- color: white
- opacity: 0.5
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
operator: default
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.remotes
option: Office
- type: custom:button-card
color: transparent
entity: input_select.remotes
show_name: true
color_type: label-card
name: Basement
icon: mdi:home-floor-b
state:
- icon: mdi:home-floor-b
styles:
icon:
- color: white
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
value: Basement
- icon: mdi:home-floor-b
styles:
icon:
- color: white
- opacity: 0.5
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
operator: default
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.remotes
option: Basement
- type: custom:button-card
color: transparent
entity: input_select.remotes
show_name: true
color_type: label-card
name: Bedroom
icon: mdi:bed-king
state:
- icon: mdi:bed-king
styles:
icon:
- color: white
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
value: Bedroom
- icon: mdi:bed-king
styles:
icon:
- color: white
- opacity: 0.5
- width: 40px
name:
- color: white
- font-size: 12px
- padding-top: 5px
operator: default
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.remotes
option: Bedroom
############################ CONTENT ###############################
- type: custom:state-switch
entity: input_select.remotes
states:
Living Room:
type: custom:vertical-stack-in-card
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: script.watch_tv_living_room
hold_action:
action: none
icon: 'mdi:power'
name: TV On
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: script.living_room_power_off
hold_action:
action: none
icon: 'mdi:power-off'
name: TV Off
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:volume-plus'
name: Volume Up
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: VolumeUp
device: '54641419'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:play'
name: Play
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: Play
device: '73129220'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:pause'
name: Pause
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: Pause
device: '73129220'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:volume-minus'
name: VolumeDown
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: VolumeDown
device: '54641419'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:undo'
name: Back
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: Back
device: '73129220'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:arrow-up-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: DirectionUp
device: '73129220'
- type: 'custom:button-card'
entity_id: remote.living_room
icon: 'mdi:home-import-outline'
name: Menu
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: Home
device: '73129220'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:arrow-left-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: DirectionLeft
device: '73129220'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:hand-okay'
name: OK
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: Select
device: '73129220'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:arrow-right-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: DirectionRight
device: '73129220'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:exit-to-app'
name: Exit
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: Menu
device: '73129220'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:arrow-down-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: DirectionDown
device: '73129220'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:information-outline'
name: Info
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.living_room
command: Menu
device: '73129220'
- type: custom:mini-media-player
entity: media_player.sonos_living_room
hide:
power: true
speaker_group:
platform: sonos
entities:
- entity_id: media_player.sonos_living_room
name: Living Room
- entity_id: media_player.sonos_bedroom
name: Bedroom
- entity_id: media_player.porch_sonos
name: Porch
- entity_id: media_player.sonos_move
name: Sonos Move
Office:
type: custom:vertical-stack-in-card
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: script.watch_tv_porch
hold_action:
action: none
icon: 'mdi:power'
name: TV On
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: script.porch_power_off
hold_action:
action: none
icon: 'mdi:power-off'
name: TV Off
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:volume-plus'
name: Volume Up
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: VolumeUp
device: '78365328'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:play'
name: Play
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: Play
device: '76887914'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:pause'
name: Pause
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: Pause
device: '76887914'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:volume-minus'
name: VolumeDown
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: VolumeDown
device: '78365328'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:undo'
name: Back
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: Back
device: '76887914'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.living_room
icon: 'mdi:arrow-up-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: DirectionUp
device: '76887914'
- type: 'custom:button-card'
entity_id: remote.porch
icon: 'mdi:home-import-outline'
name: Menu
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: Home
device: '76887914'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:arrow-left-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: DirectionLeft
device: '76887914'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:hand-okay'
name: OK
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: Select
device: '76887914'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:arrow-right-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: DirectionRight
device: '76887914'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:exit-to-app'
name: Exit
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: Menu
device: '76887914'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:arrow-down-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: DirectionDown
device: '76887914'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.porch
icon: 'mdi:information-outline'
name: Info
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.porch
command: Menu
device: '76887914'
- type: custom:mini-media-player
entity: media_player.porch_sonos
hide:
power: true
speaker_group:
platform: sonos
entities:
- entity_id: media_player.porch_sonos
name: Porch
- entity_id: media_player.sonos_living_room
name: Living Room
- entity_id: media_player.sonos_bedroom
name: Bedroom
- entity_id: media_player.sonos_move
name: Sonos Move
Basement:
type: custom:vertical-stack-in-card
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: script.watch_tv_basement
hold_action:
action: none
icon: 'mdi:power'
name: TV On
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: script.basement_power_off
hold_action:
action: none
icon: 'mdi:power-off'
name: TV Off
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:volume-plus'
name: Volume Up
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: VolumeUp
device: '68381721'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:play'
name: Play
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: Play
device: '66602398'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:pause'
name: Pause
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: Pause
device: '66602398'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:volume-minus'
name: VolumeDown
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: VolumeDown
device: '68381721'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:undo'
name: Back
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: Back
device: '66602398'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:arrow-up-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: DirectionUp
device: '66602398'
- type: 'custom:button-card'
entity_id: remote.basement
icon: 'mdi:home-import-outline'
name: Menu
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: Home
device: '66602398'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:arrow-left-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: DirectionLeft
device: '66602398'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:hand-okay'
name: OK
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: Select
device: '66602398'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:arrow-right-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: DirectionRight
device: '66602398'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:exit-to-app'
name: Exit
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: Menu
device: '66602398'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:arrow-down-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: DirectionDown
device: '66602398'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.basement
icon: 'mdi:information-outline'
name: Info
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.basement
command: Menu
device: '66602398'
- type: custom:mini-media-player
entity: media_player.office
volume_stateless: true
hide:
power: true
shortcuts:
list:
- type: source
id: Netflix
- type: source
id: Hulu
- type: source
id: Apple TV
- type: source
id: Plex
- type: source
id: YouTube TV
- type: source
id: YouTube
Bedroom:
type: custom:vertical-stack-in-card
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: script.watch_tv_master_bedroom
hold_action:
action: none
icon: 'mdi:power'
name: TV On
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: script.bedroom_power_off
hold_action:
action: none
icon: 'mdi:power-off'
name: TV Off
show_icon: true
show_name: true
size: 27%
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:volume-plus'
name: Volume Up
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: VolumeUp
device: '65776384'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:play'
name: Play
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: Play
device: '62384166'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:pause'
name: Pause
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: Pause
device: '62384166'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:volume-minus'
name: VolumeDown
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: VolumeDown
device: '65776384'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:undo'
name: Back
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: Back
device: '62384166'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:arrow-up-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: DirectionUp
device: '62384166'
- type: 'custom:button-card'
entity_id: remote.bedroom
icon: 'mdi:home-import-outline'
name: Menu
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: Home
device: '62384166'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:arrow-left-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: DirectionLeft
device: '62384166'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:hand-okay'
name: OK
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: Ok
device: '62384166'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:arrow-right-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: DirectionRight
device: '54641415'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:exit-to-app'
name: Exit
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: Exit
device: '62384166'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:arrow-down-bold'
show_name: false
size: 40%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: DirectionDown
device: '62384166'
- type: 'custom:button-card'
entity: binary_sensor.test
entity_id: remote.bedroom
icon: 'mdi:information-outline'
name: Info
size: 27%
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.bedroom
command: Info
device: '62384166'
- type: custom:mini-media-player
entity: media_player.sonos_bedroom
hide:
power: true
speaker_group:
platform: sonos
entities:
- entity_id: media_player.sonos_bedroom
name: Master Bedroom
- entity_id: media_player.sonos_living_room
name: Living Room
- entity_id: media_player.porch_sonos
name: Porch
- entity_id: media_player.sonos_move
name: Sonos MoveEditor is loading...