Samsung TV Remote Control

Here is my first attempt at a contribution, thought I would post this here to help save the next person an hour or two doing this

Using the native SamsungTV integration to get the ability to call the remote and this TV Card HACS Add-on

Was able to create a simple remote control lovelace ui card

Here is the code you would just replace living_room_tv with your entity

square: false
type: grid
columns: 1
cards:
  - type: custom:tv-card
    entity: remote.living_room_tv
    power_row:
      - power
      - settings
    navigation_row: buttons
    source_row:
      - return
      - home
      - play
      - pause
    volume_row: buttons
    channel_row:
      - channel_up
      - guide
      - channel_down
    custom_keys:
      power:
        icon: mdi:power
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_POWER
      settings:
        icon: mdi:cog
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_MENU
      home:
        icon: mdi:home
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_HOME
      return:
        icon: mdi:arrow-left
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_RETURN
      enter:
        icon: mdi:checkbox-blank-circle
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_ENTER
      play:
        icon: mdi:play
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_PLAY
      pause:
        icon: mdi:pause
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_PAUSE
      up:
        icon: mdi:chevron-up
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_UP
      down:
        icon: mdi:chevron-down
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_DOWN
      left:
        icon: mdi:chevron-left
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_LEFT
      right:
        icon: mdi:chevron-right
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_RIGHT
      volume_up:
        icon: mdi:volume-plus
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_VOLUP
      volume_down:
        icon: mdi:volume-minus
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_VOLDOWN
      volume_mute:
        icon: mdi:volume-mute
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_MUTE
      guide:
        icon: mdi:television-box
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_GUIDE
      channel_up:
        icon: mdi:menu-up
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_CHUP
      channel_down:
        icon: mdi:menu-down
        service: remote.send_command
        service_data:
          entity_id: remote.living_room_tv
          command: KEY_CHDOWN
title: Living Room TV Remote
3 Likes