Device is requested to turn on

The Device is requested to turn on trigger fires when Home Assistant requests a Samsung TV to turn on. This happens when a turn_on action is called by an automation, a script or from the UI, targeting a Samsung TV entity.

Use it when the built-in Wake-on-LAN (WoL) support in the Samsung TV integration is not sufficient for your setup. For example, when the TV is connected to a smart strip, when WoL is not supported on the TV model, or when you want to run additional actions alongside the turn-on sequence, such as switching on a connected AV receiver or adjusting the room lighting.

Labs

Requires the Purpose-specific triggers and conditions Labs preview feature. Enable it at Settings > System > Labs.

Using this trigger from the user interface

If you prefer building automations visually, Home Assistant walks you through this trigger step by step. You pick what to watch, tweak a few options, and save. No YAML knowledge required.

To use this trigger in an automation:

  1. Go to Settings > Automations & scenes.
  2. Open an existing automation, or select Create automation > Create new automation.
  3. In the When section, select Add trigger.
  4. Under By device, select your Samsung TV device.
  5. Select the available trigger Device is requested to turn on.
  6. Select Save.

Options in the UI

Device (Required)

The Samsung TV media player device that should be watched for a turn-on request. Only Samsung TV devices can be selected.

Trigger (Required)

The trigger Device is requested to turn on.

Using this trigger in YAML

If you work directly in YAML, or you want to know exactly what Home Assistant does under the hood, this section has the technical reference. It lists the field names you use in YAML, their types, and which ones are required.

In YAML, refer to this trigger as samsungtv.turn_on. A basic example looks like this:

This fires every time Home Assistant requires media_player.samsung_smart_tv to turn on.

Options in YAML

YAML sometimes provides additional options for more complex use cases that are not available through the UI.

trigger string Required

The trigger samsungtv.turn_on.

device_id string

One or more device IDs of Samsung TV devices to watch. At least one of device_id or entity_id must be set. To use more than one device ID, enter them as a list.

entity_id string

One or more entity IDs of Samsung TV entities to watch. At least one of device_id or entity_id must be set. To use more than one entity ID, enter them as a list.

Good to know

  • This trigger fires when media_player.turn_on is called targeting the TV entity, not when the TV turns on by itself (for example, after a power cut). It represents a request from Home Assistant, not a state change on the TV.
  • If the TV supports Wake-on-LAN (WoL) and it is enabled in the integration, Home Assistant will attempt WoL automatically without needing this trigger. Use this trigger only when you need to override or supplement that built-in behavior.
  • The trigger does not include a For at least option or a Trigger when option, which means that it fires immediately on every turn-on request and targets a single device, not a group.
  • If you use this trigger to send a Wake-on-LAN packet manually, make sure the Wake-on-LAN integration is set up.
  • This trigger is the recommended way to handle Samsung TVs connected to a smart power strip, where the TV cannot be woken by WoL alone and the strip must be switched on first.

Try it yourself

Ready to test this? Go to Settings > Automations & scenes, create a new automation, and add this trigger. Save the automation, then change the state of the targeted entity to watch the trigger fire on your actual entitiesAn 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].

More examples

Real scenarios where this trigger fires in automations and scripts. Copy any example and adapt it to your setup.

Tip

You don’t need to edit YAML to use these examples. Copy a YAML snippet from this page, open the 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 on a smart power strip before waking the TV to avoid standby energy waste

When the TV is requested to turn on, this automation first switches on the smart power strip the TV is connected to, then sends a Wake-on-LAN packet. This avoids leaving the strip switched on permanently, which would power all connected devices in standby, while still ensuring the TV receives power before the WoL packet is sent.

  • Trigger: Device is requested to turn on
    • Targeted device: my_samsungtv_device_id
  • Action: Switch: Turn on (living room AV strip)
  • Action: Delay: 5 seconds (to allow the TV to receive power)
  • Action: Wake-on-LAN: Send magic packet
YAML example for turning on a smart strip and sending a WoL packet when the TV is requested to turn on
AutomationAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more]
alias: "Turn on AV strip and wake TV on turn-on request"
triggers:
  - trigger: samsungtv.turn_on
    device_id: my_samsungtv_device_id
actions:
  - action: switch.turn_on
    target:
      entity_id: switch.living_room_av_strip
  - delay:
      seconds: 5
  - action: wake_on_lan.send_magic_packet
    data:
      mac: "AA:BB:CC:DD:EE:FF"

Still stuck?

The Home Assistant community is quick to help: join Discord for real-time chat, post on the community forum with the trigger you’re using and what you expected to happen, or share on our subreddit /r/homeassistant.

Tip

AI assistants like ChatGPT or Claude can also explain triggers or suggest the right one when you describe what you want in plain language.