To and from in node red

How would I set this yaml in node red, cause the state_change node (I think) only does the ‘to’ part, but I want the ‘from’ part too. Searched around, but didn’t find anything useful

trigger-state node


1 Like

Ok, thanks, I’ll give it a try tomorrow.