I am trying to Power on my TV and launch Plex.
I have a Broadlink to send the IR codes, and they work (even the wait_template).
I don’t want the script to execute if either of two media players already has a state of ‘playing’. (It’s a roku tv, and discovery enumerates them differently each time. Sometimes the Roku is media_player.tvliving and Plex is media_player.tvliving_2. Other times they’re reversed, so I need to check both).
My condition, however, throws: ERROR (MainThread) [homeassistant.bootstrap] Invalid config for [script]: [condition] is an invalid option for [script]. Check: script->script->tv_plex->sequence->0->condition.
I’ve tried many variations of syntax with no success. Please help?
One note, though: when it stops due to the condition being false, the control toggle on the tile remains on, whereas in all other cases, it returns to off once complete. Is that normal behavior?
Not sure. Scripts usually only get the toggle when they involve a delay, right? Maybe wait_template triggers the same functionality? Dunno - you’ve got both.