I have a trigger to monitor status (text) and it works fine:
{Template_testing:command[0,e,"State"].str(clean)}#1
However, I am trying to extend this trigger by adding 2nd status and OR statement:
({Template_testing:command[0,e,"State"].str(clean)}#1) |
({Template_testing:command[0,e,"State"].str(active)}#1)
and it does NOT work
Is it a bug? Or am I doing something wring here?
{Template_testing:command[0,e,"State"].str(clean)}#1
However, I am trying to extend this trigger by adding 2nd status and OR statement:
({Template_testing:command[0,e,"State"].str(clean)}#1) |
({Template_testing:command[0,e,"State"].str(active)}#1)
and it does NOT work
Is it a bug? Or am I doing something wring here?
Comment