103 lines
2.5 KiB
YAML
103 lines
2.5 KiB
YAML
- type: 'custom:button-card'
|
|
template: card_title
|
|
name: Volume Control
|
|
label: Denon
|
|
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: 'custom:button-card'
|
|
icon: "mdi:volume-minus"
|
|
size: 15%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_volume_down
|
|
name: Down by 5
|
|
- type: 'custom:button-card'
|
|
icon: "mdi:volume-plus"
|
|
size: 15%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_volume_up
|
|
name: Up by 5
|
|
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: 'custom:button-card'
|
|
icon: "mdi:volume-minus"
|
|
size: 15%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_volume_down_1
|
|
name: Down by 1
|
|
- type: 'custom:button-card'
|
|
icon: "mdi:volume-plus"
|
|
size: 15%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_volume_up_1
|
|
name: Up by 1
|
|
|
|
- type: 'custom:button-card'
|
|
template: card_title
|
|
name: Denon Volume
|
|
label: Presets
|
|
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: 'custom:button-card'
|
|
color_type: icon
|
|
icon: "mdi:television-classic"
|
|
size: 15%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_volume_video
|
|
name: Streaming Volume
|
|
- type: 'custom:button-card'
|
|
color_type: icon
|
|
icon: "mdi:music-circle-outline"
|
|
size: 15%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_volume_music
|
|
name: Music Volume
|
|
|
|
- type: 'custom:button-card'
|
|
template: card_title
|
|
name: Mute and Turn off
|
|
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: 'custom:button-card'
|
|
color_type: icon
|
|
color: rgb(255,0,0)
|
|
icon: "mdi:volume-mute"
|
|
size: 20%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_volume_mute
|
|
name: Mute
|
|
- type: 'custom:button-card'
|
|
color_type: icon
|
|
color: rgb(41, 61, 61)
|
|
icon: "mdi:television-off"
|
|
size: 20%
|
|
tap_action:
|
|
action: call-service
|
|
service: script.turn_on
|
|
service_data:
|
|
entity_id: script.denon_tv_turn_off
|
|
name: Turn Off |