Author
Topic: Action item suggestion (Read 1428 times)

It would be great if in the rules, there was an action that could return a particular sensor or sensors to their previous state. Example: if my front door sensor is tripped, it flashes the light in my living room. But if I had the light on before the sensor was tripped I would like it to return to on, if the light was off before the sensor was tripped it should return to off. It seems it would make sense that you could do this for each sensor individually in the rule or for all sensors. I imagine that a small yes or no box on each action could suffice, it would say something like return to previous state (before the action began) and you could select yes or no or add a full separate action that allows you to do so.

I could however not get this to work correctly as It would need some kind of extra "Stop processing" action as the lamp was blinking for as long as the sensor1 was true.This since one rule triggers the other when the lamp changes state.

Another option would be that instead of having only a true or false criteria for a sensor one could detect a change instead.

Yeah that's why I was thinking an actual action item would be the best as opposed to a series of rules and changes, PLUS way simpler for users. It could identify the current state, complete its set of actions, return it to the original (pre-actions) state.