Are there ways to process messages based on a decision table? I am looking into some complex automation scenarios, and can't get myself to build out every variation manually. For example a number of different states like:
time of day
lighting scene preselected
time since last trigger
mood of my son's hamster
...
And then act on the result, for example change something within msg.payload or choose a specific output connector to send the data to.
I know that all of this can be done with individual nodes and haven't found anything related to "decision table" - maybe for a good reason?
Certainly! In Node-RED, you can emulate a decision table by using input nodes, a Switch node for conditions, and Function nodes for actions. It's a modular and scalable approach, offering flexibility in handling diverse automation scenarios without manual configuration for each variation.