Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 108358

Allow to define "If Not" or "Exit actions" to Automations

$
0
0

As create more automations (and/or migrate from node-red) I find my self creating too many helpers just to be able to create pair of “if” and “if not” automations.

For example, lets say that I want to create this automation:

When I am not home, it is between 10pm and 5am, and the temperature is bellow 25 degrees the external fans should run at full blast. But If I am home, then just the Kitchen fan should do that.

To do that, I would need to create 2 automations, one for when the requirements are met, and another when not.

I am proposing to add a new step on the Automations so that instead of

  • When
  • And If (optional)
  • Then Do

We have

  • When
  • And If (optional)
  • Then Do
  • If not Do (optional)

So that when the When goes to true runs Then Do and when it goes to false runs If not Do.

Cheers!

5 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 108358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>