Last active
April 20, 2025 15:29
-
-
Save mediacutlet/181dca8b0dcb627c8303b6403e52e1a8 to your computer and use it in GitHub Desktop.
Turn on Hue Sync Box Light Sync when Movie Playing (Plex)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Turn on Hue Sync Box Light Sync when Movie Playing (Plex) | |
description: > | |
Turns on the Hue Sync Box Light Sync switch when a movie is playing on the | |
Plex media player. | |
triggers: | |
- value_template: | | |
{{ | |
state_attr('media_player.plex_plex_for_apple_tv_apple_tv', 'media_content_type') == 'movie' | |
and states('media_player.plex_plex_for_apple_tv_apple_tv') == 'playing' | |
}} | |
trigger: template | |
conditions: [] | |
actions: | |
- target: | |
entity_id: switch.sync_box_light_sync | |
action: switch.turn_on | |
data: {} | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment