#String as condition
1 messages · Page 1 of 1 (latest)
{{ states('input_text.input_text_text') != 'ignore' }}
if your text is ignore it will return false and the condition will fail else it will return true and the condition passes
1 messages · Page 1 of 1 (latest)
I am trying to use input.text as condition .
My goal is to do nothing if text= "ignore" . Dunno how to do that
I tried
{% if states(`input_text.input_text_test') but as I understand this is not valid for srings
{{ states('input_text.input_text_text') != 'ignore' }}
if your text is ignore it will return false and the condition will fail else it will return true and the condition passes