Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106028

Automation ideas to dim lights when I press play on Harmony remote?

$
0
0

Hi I’m trying to find a way via Home Assistant to recognize when I press play (Netflix etc) on my Roku device via the Harmony elite, it will dim the Lutron lights in my movie room. Also to ramp them up a bit when I press pause or stop.

I’ve looked through the forum but have been unable to find a solution. I’ve haven’t any trouble dimming the lights through Harmony for the general Activity selection, but I would like it to be a bit more precise than that.

I’ve attempted adding an automation in HA that would respond to Roku entering the play status, and it doesn’t appear to work. I welcome any ideas that I may be overlooking.


alias: Lights off when starting movie
description: ''
trigger:
  - platform: device
    device_id: 90********************8
    domain: media_player
    entity_id: media_player.roku_express_4k
    type: playing
condition:
  - condition: state
    entity_id: light.media_room_front_sconces
    state: 'on'
action:
  - service: light.turn_off
    data:
      transition: 10
    target:
      entity_id:
        - light.media_room_front_sconces
        - light.media_room_rear_sconces
mode: single

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106028

Trending Articles