Frame TV use Presence detection for art mode

TV: 65" Frame TV Pro 2025

What I was trying to accomplish:

Have the TV in art mode when we are in the room have it turn off when we are gone for a period of time.

Prep:
TV: set remote power button to activate art mode on press (Not using this in automation yet but will in the future.)

Integrations needed:

Samsung TVSmart from Hacs
Smartthings

Why both…The hacs integration will not turn the TV Off if remote is set to remote’s power button “toggle Art mode”. The Service set_art_mode is not working for me. The Smarthings integration will allow you to toggle the TV’s power the Hacs integration will toggle art mode.

As I said I am currently not toggling art mode in my automation but if everything is solid I will add this in the future.

I used 2 presence sensors combined in a group to cover the room. If the TV is in Art mode when it turns off it will come on in art mode. Below is the automation just remember the power entity will be the Smartthings one. The Hacs integration power entity will toggle Art Mode so you can add that if you want to check art mode is enabled and if not toggle it.

alias: Frame TV
description: ""
triggers:
  - trigger: state
    entity_id:
      - binary_sensor.lr_kitch_presence_sensors
    from:
      - "off"
    to:
      - "on"
    id: occupied
  - trigger: state
    entity_id:
      - binary_sensor.lr_kitch_presence_sensors
    from:
      - "on"
    for:
      hours: 0
      minutes: 30
      seconds: 0
    id: Not occupied
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - occupied
          - condition: state
            state:
              - "off"
            entity_id: media_player.living_room_tv_2
        sequence:
          - action: media_player.turn_on
            metadata: {}
            data: {}
            target:
              entity_id: media_player.living_room_tv_2
      - conditions:
          - condition: trigger
            id:
              - Not Occupied
          - condition: state
            entity_id: media_player.living_room_tv_2
            state:
              - "on"
        sequence:
          - action: media_player.turn_off
            metadata: {}
            data: {}
            target:
              entity_id: media_player.living_room_tv_2
mode: single

That is so far what I have, It should be a good starting point.

Craig

2 Likes