NOT condition

Have you tried something like this:

condition:
 - condition: template
       value_template: "{{ not is_state ('sensor.weather, 'clear') }}"
3 Likes

does that work??

As long as you’re using the right sensor it should. I use “{{ not is_state ('person.me, ‘home’) }}” for a lot of my automations as it works regardless of whether the person.me state is not-home or away.

I am fairly sure this would now be possible with this?

2 Likes