#Dim and brighten lights when playing or paused media

1 messages · Page 1 of 1 (latest)

molten bolt
#

Hello

I've got two automations setup, one that will dim lights while media plays after a certain time, and another that will brighten the lights when it's paused.

description: Dim lights while media plays.
triggers:
  - trigger: state
    entity_id:
      - media_player.lg_webos_smart_tv
    for:
      hours: 0
      minutes: 0
      seconds: 2
    to: playing
conditions:
  - condition: or
    conditions:
      - condition: time
        after: "20:00:00"
      - condition: state
        entity_id: light.living_room
        state: "on"
        enabled: true
    enabled: true
actions:
  - action: light.turn_on
    data:
      brightness_pct: 10
      transition: 5
    target:
      entity_id: light.living_room
mode: single```

```alias: LG TV Paused
description: ""
triggers:
  - trigger: state
    entity_id:
      - media_player.lg_webos_smart_tv
    to: idle
    for:
      hours: 0
      minutes: 0
      seconds: 2
conditions:
  - condition: or
    conditions:
      - condition: time
        after: "20:00:00"
      - condition: state
        entity_id: light.living_room
        state: "on"
actions:
  - action: light.turn_on
    target:
      entity_id: light.living_room
    data:
      transition: 3
      brightness_pct: 100
mode: single```

It's not working at all so I'm not sure if if it's detecting the state of whatever is playing, integration is all setup and the sources I'm trying to play items on are configured under the WebOS integration
#

I've used my Google TV Streamer as well and that doesn't work either

molten bolt
#

Dim and brighten lights when playing or paused media

molten bolt
#

Some LG TVs just don't have the playing and paused status so bought a seperate streamer 🙂

hallow bison
molten bolt