Sony Infrared

The Sony Infrared integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] lets you control a Sony TV using any infrared emitter you already have set up in Home Assistant.

Infrared only goes one way. Commands are sent to the TV, but the TV never reports back, so Home Assistant can’t tell whether it’s on or how loud it is. The integration uses assumed states.

If your Sony TV is on your network, the Sony Bravia TV integration can read the TV’s real state and is usually the better choice. This integration is for sets that aren’t on the network, or when you’d rather not use the network API.

Supported devices

The integration works with Sony TVs that use the standard Sony infrared command set (12-bit SIRC on address 1). That covers Bravia sets from the older KDL models through current Android TV and Google TV models, and many older Sony TVs before them.

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.

You need an infrared emitter pointed at the TV. For example, an ESPHome device with an IR LED.

Configuration

To add the Sony 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 Sony Infrared.

  • Follow the instructions on screen to complete the setup.

Device type

The type of Sony device to control. Pick TV.

Infrared emitter

The infrared emitter entity used to send commands to your TV. It must come from a hardware integration (such as ESPHome) that is already set up with an IR emitter.

Supported functionality

Media player

  • Sony TV
    • Description: Represents the TV and controls it over infrared.
    • Supported features: Turn on, turn off, volume up, volume down, mute, next track (channel up), and previous track (channel down).

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.