Generic FSM machine that uses configurable transitions.
Unlike the previous implementation that used Fsmx with hardcoded transitions, this module validates transitions dynamically based on the provided config.
Summary
Functions
Creates a new machine with the given initial state and transitions.
Attempts to transition to a new state.