Hi all, I'm working on an LLM Vision automation to only send a notification when something is found. My AI prompt says to return "Ignore" if the specified condition isn't met, then I'm trying to send a notification ONLY if the response is NOT "Ignore" but I can't seem to get the value template correct.
I'm currently having it notify in both cases (with differing titles) for testing.
- if:
- condition: template
value_template: >-
"{{ response.response_text == 'Ignore' }}"
then:
- action: notify.******
metadata: {}
data:
message: Ignore This
title: Ignore This
else:
- action: notify.*****
metadata: {}
data:
message: "{{response.response_text}}"
title: Something found
data: {}