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

Template syntax help with referencing

$
0
0

I’m trying to obtain the value of media_series_title attribute of the media_player.sky_q entity in a template but I haven’t got a clue how to write this in a template.

I want to use the template to trigger a script if the value contains a specific string.

I got as far as the below but I don’t know the correct syntax to include the media_series_title attribute so would welcome any advice.

{% if ‘xxxxxx’ in media_player.sky_q %}

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 109599

Latest Images

Trending Articles



Latest Images