@D5120 wrote:
A wonder if I could get a quick pointer please.
I’m trying to write some automation based on a Plex TV show.
If I view the state of ‘media_player.plex_plex_for_apple_tv_bedroom’, I can see the following entry
media_series_title: Robot Chicken
I can’t quit work out the syntax to do something based on the current TV show.
My automation currently has the condition of the below, however that doesn’t seem to be triggering.
Trigger = idle to playing (this works)
condition:
- condition: state
entity_id: media_player.plex_plex_for_apple_tv_bedroom
state: ‘media_series_title: Robot Chicken’Action - Call script (this works)
Having a quick look around the forum, there’s the state attribute function…but I couldn’t work that out.
Do I need to look at templating, or am I missing something easy?
Thanks in advance
Darren
Posts: 1
Participants: 1