97 lines
2.5 KiB
YAML
97 lines
2.5 KiB
YAML
|
- type: 'custom:button-card'
|
||
|
template: card_title
|
||
|
name: TV
|
||
|
label: Control
|
||
|
|
||
|
- type: vertical-stack
|
||
|
cards:
|
||
|
- type: horizontal-stack
|
||
|
cards:
|
||
|
- type: 'custom:button-card'
|
||
|
color_type: icon
|
||
|
color: rgb(229,9,20)
|
||
|
icon: "mdi:netflix"
|
||
|
size: 20%
|
||
|
tap_action:
|
||
|
action: call-service
|
||
|
service: script.turn_on
|
||
|
service_data:
|
||
|
entity_id: script.netflix_and_chill
|
||
|
name: Netflix
|
||
|
- type: 'custom:button-card'
|
||
|
color_type: icon
|
||
|
color: rgb(30,215,96)
|
||
|
icon: "mdi:spotify"
|
||
|
size: 20%
|
||
|
tap_action:
|
||
|
action: call-service
|
||
|
service: script.turn_on
|
||
|
service_data:
|
||
|
entity_id: script.denon_listen_music
|
||
|
name: Spotify
|
||
|
|
||
|
- type: vertical-stack
|
||
|
cards:
|
||
|
- type: horizontal-stack
|
||
|
cards:
|
||
|
- type: 'custom:button-card'
|
||
|
color_type: icon
|
||
|
#color: rgb(229,9,20)
|
||
|
icon: "mdi:nintendo-switch"
|
||
|
size: 20%
|
||
|
tap_action:
|
||
|
action: call-service
|
||
|
service: script.turn_on
|
||
|
service_data:
|
||
|
entity_id: script.denon_play_switch
|
||
|
name: Nintendo Switch
|
||
|
- type: 'custom:button-card'
|
||
|
color_type: icon
|
||
|
color: rgb(51, 102, 255)
|
||
|
icon: "mdi:disc-player"
|
||
|
size: 20%
|
||
|
#tap_action:
|
||
|
# action: call-service
|
||
|
# service: script.turn_on
|
||
|
# service_data:
|
||
|
# entity_id: script.denon_listen_music
|
||
|
name: Blueray
|
||
|
|
||
|
- type: vertical-stack
|
||
|
cards:
|
||
|
- type: horizontal-stack
|
||
|
cards:
|
||
|
- type: 'custom:button-card'
|
||
|
color_type: icon
|
||
|
color: rgb(0,173,238)
|
||
|
icon: "mdi:steam"
|
||
|
size: 20%
|
||
|
# tap_action:
|
||
|
# action: call-service
|
||
|
# service: script.turn_on
|
||
|
# service_data:
|
||
|
# entity_id: script.netflix_and_chill
|
||
|
name: Steam Link
|
||
|
- type: 'custom:button-card'
|
||
|
color_type: icon
|
||
|
color: rgb(144,138,153)
|
||
|
icon: "mdi:gamepad-square"
|
||
|
size: 20%
|
||
|
#tap_action:
|
||
|
# action: call-service
|
||
|
# service: script.turn_on
|
||
|
# service_data:
|
||
|
# entity_id: script.denon_listen_music
|
||
|
name: Super NT
|
||
|
|
||
|
- type: 'custom:button-card'
|
||
|
color_type: icon
|
||
|
color: rgb(41, 61, 61)
|
||
|
icon: "mdi:television-off"
|
||
|
size: 10%
|
||
|
tap_action:
|
||
|
action: call-service
|
||
|
service: script.turn_on
|
||
|
service_data:
|
||
|
entity_id: script.denon_tv_turn_off
|
||
|
name: Turn Off
|