It was a toss up if I posted this here or #1284966664357810196 .
I'm trying to setup a iOS lock screen widget using the "details" widget; essentially of the three entities listed, I want to return the entity that is in an "on" state. Bonus points if I can print Off Mid or On respectively.
I'm looking at the templating doc https://www.home-assistant.io/docs/configuration/templating/ as a starting point.
Jinja is here: https://dpaste.org/bPWcv
When I put that into the widget I'm getting a [] printed (yes one of the three entities is On
I've never gotten these widgets working prior and this is only my second or third time templating so any help is appreciated-- thanks!