Madplan: tilføj store volumen op/ned knapper til Sonos Køkken
This commit is contained in:
@@ -104,6 +104,60 @@ cards:
|
||||
entity: media_player.kokken
|
||||
name: Sonos Køkken
|
||||
|
||||
- type: grid
|
||||
columns: 2
|
||||
square: false
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
name: Volumen ned
|
||||
icon: mdi:volume-minus
|
||||
tap_action:
|
||||
action: perform-action
|
||||
perform_action: media_player.volume_down
|
||||
target:
|
||||
entity_id: media_player.kokken
|
||||
hold_action:
|
||||
action: perform-action
|
||||
perform_action: media_player.volume_down
|
||||
target:
|
||||
entity_id: media_player.kokken
|
||||
styles:
|
||||
card:
|
||||
- height: 72px
|
||||
- font-size: 16px
|
||||
- background: var(--primary-color)
|
||||
icon:
|
||||
- color: white
|
||||
- width: 36px
|
||||
name:
|
||||
- color: white
|
||||
- font-size: 13px
|
||||
|
||||
- type: custom:button-card
|
||||
name: Volumen op
|
||||
icon: mdi:volume-plus
|
||||
tap_action:
|
||||
action: perform-action
|
||||
perform_action: media_player.volume_up
|
||||
target:
|
||||
entity_id: media_player.kokken
|
||||
hold_action:
|
||||
action: perform-action
|
||||
perform_action: media_player.volume_up
|
||||
target:
|
||||
entity_id: media_player.kokken
|
||||
styles:
|
||||
card:
|
||||
- height: 72px
|
||||
- font-size: 16px
|
||||
- background: var(--primary-color)
|
||||
icon:
|
||||
- color: white
|
||||
- width: 36px
|
||||
name:
|
||||
- color: white
|
||||
- font-size: 13px
|
||||
|
||||
- type: grid
|
||||
columns: 3
|
||||
square: false
|
||||
|
||||
Reference in New Issue
Block a user