[SOLVED] Changed not from NULL

Hi

Is there way in a rule to state something

Rule “x”
When item changed not from Null to any

Thanks

You have two choices.

when
    Item MyItem changed from OFF to ON or
    Item MyItem changed from ON to OFF
then
when
    Item MyItem changed
then
    if(previousState == NULL) return;

2 is a little more flexible.

2 Likes