If condition: 'has stayed more/less than'

An addition of following if conditions would be really helpful.

  • has stayed equal to or more than
    and
  • has stayed equal to or less than
    both with value and duration.

For example I want to create a rule with condition that my device power has been within a certain range for a specific time period.

I see these conditions with ‘is’ but not has ‘has stayed’.

Thanks for the feedback! Don’t forget to scroll up and cast a vote on your own feature request!

In the meantime, one approach you could take is to create a rule that sets a true/false variable according to your desired threshold, then use that true/false variable as a state-stays trigger wherever needed:

Part 1: Setting the true/false variable

Part 2: Using the true/false as state-stays

1 Like