Automation trigger then attribute is not x

Hi guys

I have a sensor.geocoded_location_mobile entity where i got the attribute value: “Thoroughfare”

I need an automation where the trigger wil trigger then the attribute is NOT the value from attribute value: “Thoroughfare”

I tried this value template in my trigger:
value_template: "{% if is_state_attr('sensor.geocoded_location_mobile', 'Thoroughfare', 'My Addresse') %}false{% endif %}"

I was thinking if the Thoroughfare was false then it will trigger my automation.

Its a sensor from my mobile.
Hope it makes sense.

Not sure if that works.

But

{{ state_attr('sensor.geocoded_location_mobile', 'Thoroughfare') != 'My Addresse' }}

Should work.
Your template doesn’t ever return true, it just returns false or nothing. So I assume it will never fire.

Correct, it was easy to trigger after a while.