...
In this example we have a fist mode "day" that has the mode values "weekday" and "weekend" and a second mode "time" that has the mode values "daytime" and "nighttime"
In a similar way, drag find the state block in the block library and drag it into the stage.
...
In this example we have one state named "heating" with two values "normal" and "economical"
Link the mode and state blocks.
...