Getting volume controls from TV on dashboard

Hi,

I just added my Samsung TV to Home Assistant through the Samsung Smart TV-integration.
I want to have a card on my dashboard that shows both power-button and volume +/- etc.
If I add a entity card now all I get is this:

image

And if I click on the three dots on the upper right corner I get more info like this:

image

Is it possible to get all the controls here, power, mute volume -/+, play/pause in a single card?

It’s all service calls so yes.

Have a look here where I explained how to do service calls from the dashboard.

As said above, create buttons that do whet you want.
One could use a horizontal or vertical stack card to organize things.

Simple example:

type: horizontal-stack
cards:
  - type: button
    tap_action:
      action: call-service
      service: media_player.volume_down
      service_data: {}
      target:
        entity_id: media_player.<your TV>
    entity: media_player.<your TV>
    show_name: false
    icon: mdi:volume-minus
    icon_height: 25px
    hold_action:
      action: call-service
      service: media_player.volume_mute
      service_data:
        is_volume_muted: true
      target:
        entity_id: media_player.<your TV>
  - type: button
    tap_action:
      action: call-service
      service: media_player.volume_up
      service_data: {}
      target:
        entity_id: media_player.<your TV>
    entity: media_player.<your TV>
    show_name: false
    icon: mdi:volume-plus
    icon_height: 25px
    hold_action:
      action: call-service
      service: media_player.volume_mute
      service_data:
        is_volume_muted: false
      target:
        entity_id: media_player.<your TV>

You also might consider using Samsung specific service calls, but since I do not have a Samsung, I am not familiar with it.

2 Likes

Thanks for the info. I will look in to this!