hansen-hasst/lovelace/dashboard/harmony/volume_control.yaml

63 lines
1.5 KiB
YAML
Raw Normal View History

2022-08-18 14:45:03 +00:00
- type: 'custom:button-card'
template: card_title
name: Volume
label: Control
- type: horizontal-stack
cards:
- type: 'custom:button-card'
icon: "mdi:volume-minus"
size: 20%
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'
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'
icon: "mdi:volume-plus"
size: 20%
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.denon_volume_up
name: Up by 5
- type: 'custom:button-card'
template: card_title
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: TV Volume
- type: 'custom:button-card'
color_type: icon
icon: "mdi:bookmark-music-outline"
size: 15%
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.denon_volume_music
name: Music Volume