This pull request fixes a crash in state node that occurs when the node is stateless (e.g., there are only states with manual triggers configured) and a state is activated.
Additionally, when a state is activated via input message with timeout and all states are manually triggered ones, the node now falls back into stateless state after the state timed out.
Finally, the color of the stateless state has been changed from yellow to grey in the Node-RED editor.
This pull request fixes a crash in state node that occurs when the node is stateless (e.g., there are only states with manual triggers configured) and a state is activated.
Additionally, when a state is activated via input message with timeout and all states are manually triggered ones, the node now falls back into stateless state after the state timed out.
Finally, the color of the stateless state has been changed from yellow to grey in the Node-RED editor.