Samsung Infrared

The Samsung Infrared integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] lets you control a Samsung TV or air conditioner using any infrared transmitter previously configured in Home Assistant.

Because the integration communicates over infrared, it operates in a one-way, fire-and-forget fashion: commands are sent to the device but there is no feedback channel to confirm its current state. The integration therefore uses assumed states.

Supported devices

The integration supports:

  • Samsung TVs that can be controlled via the standard Samsung infrared protocol.
  • Samsung air conditioners that use the Samsung AC 0292 infrared protocol.

Prerequisites

This integration requires an infrared remote adapter (proxy) that is already set up in Home Assistant and provides an infrared entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. For the remote adapters that you can use, refer to Infrared remote adapters.

For example, you can use an ESPHome device with an IR LED pointed at your Samsung TV or air conditioner.

Configuration

To add the Samsung Infrared device to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select Samsung Infrared.

  • Follow the instructions on screen to complete the setup.

Device type

The type of Samsung device to control. Choose TV or AC (air conditioner).

Infrared transmitter

The infrared transmitter entity to use for sending commands. This must be an entity provided by a hardware integration (such as ESPHome) that has already been set up with an IR transmitter.

Supported functionality

The Samsung Infrared integration provides the following entities, depending on the device type selected during setup.

AC

Climate

Available when AC is selected as the device type.

  • Samsung AC: Represents the Samsung air conditioner and allows you to control it via IR commands. Supported features include turn on, turn off, HVAC mode (off, auto, cool, heat, dry, fan only), target temperature (16-30°C, in 1°C steps), and fan mode (auto, low, medium, high).

TV

Buttons

Available when TV is selected as the device type.

  • Power: Toggles the TV power state.
  • Source: Cycles through input sources, including TV, HDMI 1 to HDMI 4, USB drives, DLNA devices, and other available sources.
  • Settings: Opens the TV settings menu.
  • Info: Displays program information.
  • Exit: Exits the current menu or app.
  • Return: Returns to the previous screen or menu.
  • Home: Opens the TV home screen.
  • Red, Green, Yellow, Blue: Color buttons for special functions (function depends on the current context).
  • Up, Down, Left, Right: Navigation buttons for menu navigation.
  • OK: Confirms selections in menus.
  • Previous channel: Switches to the previously viewed channel.
  • Number 0-9: Number keys for channel selection and text input.
  • Fast forward: Fast forwards playback.
  • Rewind: Rewinds playback.
  • Record: Starts recording (if supported by the TV).
  • Tools: Opens the tools menu.
  • Browser: Opens the web browser.
  • AD/Subtitle: Toggles audio description or subtitles.
  • E-Manual: Opens the electronic manual.

Media player

Available when TV is selected as the device type.

  • Samsung TV: Represents the Samsung TV and allows you to control it via IR commands. Supported features include turn on, turn off, volume up, volume down, mute, channel up, channel down, play, pause, stop, and source selection (TV, HDMI 1, HDMI 2, HDMI 3, HDMI 4).

Samsung Infrared automation examples

The integration can be used to manually control a device (using buttons on a dashboard or voice commands) or automatically issue commands using automations.

Tip

You don’t need to edit YAML to use these examples. Copy a YAML snippet from this page, open the visual automation editor in Home Assistant, and press Ctrl+V (or Cmd+V on Mac). Home Assistant automatically converts the pasted YAML into the visual editor format, whether it’s a full automation, a single trigger, a condition, or an action.

Automation: Turn off the TV when nobody is in the same room

If you pair the Samsung Infrared integration with a smart plug with power monitoring capabilities, you can detect whether a TV is on (see the Known limitations section) and turn it off when no one is in the room.

  • Trigger: Occupancy cleared
    • Target: Living room occupancy sensor
    • For at least: 00:15:00
  • Condition: Power value (above 10 W for at least 1 minute)
    • Target: TV power sensor
  • Action: Press button
    • Target: Samsung TV power button
YAML example for turning off the TV when the room is empty

Automation: Turn on the TV in the morning

You could also configure an automation to turn a TV on in the morning.

  • Trigger: Time: It is 9:00 am
  • Action: Press button
YAML example for turning on the TV at 09:00 every day

Known limitations

  • The integration uses assumed state, meaning Home Assistant cannot read the actual state of the device (for example, whether the TV is on or off, or the AC’s current room temperature).
    • You may still be able to detect the increased power draw when a TV is on using a smart plug with power monitoring capabilities.
  • For the media player, volume control is step-based only; there is no way to set an absolute volume level.
  • For the climate entity, swing mode is not currently configurable through the UI and is always sent as off.

Troubleshooting

Buttons are unavailable

Symptom

In the Device info page, all buttons are greyed out and the “Activity” panel shows they are “Unavailable”.

Description

The integration only works if a functional infrared transmitter is configured and enabled.

Resolution

  1. Check that your Infrared Proxy Transmitter device is connected to power.
  2. Check that the transmitter has been configured in Home Assistant.
  3. Check that the transmitter entity is enabled.

Removing the integration

This integration follows standard integration removal.

To remove an integration instance from Home Assistant

  1. Go to Settings > Devices & services and select the integration card.
  2. Next to the entry you want to remove, select the three dots menu. Then, select Delete.
    • Depending on the integration, the entries are listed under one of the following headings:
      • Devices
      • Hubs
      • Services
      • Integration entries
  3. To confirm, select Delete.
    • Home Assistant also deletes the devices and entities of the entry.
  4. If Home Assistant asks you to restart, restart Home Assistant.
  5. If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.