Hey guys,
I've been trying to create an automation based on watching a specific TV show before bed (most lights off etc.).
I've got most of it done, the only issue is I'm having trouble finding a way to have a trigger based on a specific TV show. Can't seem to find it in the plex or tautulli integration.
Does anyone have any ideas?
Thanks 🙂
#PLEX trigger for specific show
1 messages · Page 1 of 1 (latest)
bump, in case someone can help 🙂
Via the UI, Add Trigger > Entity > State. Select your Plex media_player entity. For Attribute, select Series. In the To, enter the series name. ```yaml
alias: Plex Series test
description: ""
triggers:
- trigger: state
entity_id:- media_player.xbox_plex
attribute: media_series_title
to: Manifest
conditions: []
actions:
- media_player.xbox_plex
- action: light.turn_on
data:
brightness_pct: 20
target:
entity_id: light.living_room_lights
mode: single
Pausing/resuming and going to the next episode may create some undesirable affects because the state change between playing and idle. Resuming and playing the next episode will trigger the automation again with the state change.
@reef relic thanks a bunch for your help! Does this seem correct to you (I did everything via UI)
It looks like you selected Title instead of Series. (Series uses the media_series_title attribute while Title uses the media_title attribute which refers to the episode title.)
This looks more like
🙂
Thanks a bunch!
Hey,
Sorry for such a "random" ping, but I've disconnected my nvidia shield from being wired to wireless and the atuomation stopped working. Any ideas why it would be the case?
When I enter the entity, the attribute does not have "Series" in the dropdown menu. Is this normal?
Thanks 🙂
Had a big thing written out on the laptop but looks like i didn't send it. The attribute won't appear in the dropdown unless media is playing with that attribute. When idle, there's only 3 attributes. If you don't want to start a media file to be able to use the dropdown, go into YAML mode and type it in manually.
As you said, when playing on plex I get all the options and selecting "Series" from the dropdown menu worked perfectly. It's interesting that me typing it doesn't work.
Thanks again!