Postpone error check in run_fsm_transition
This fix for the run_fsm_transition
function postpones the check for errors in results[device].state
until after the FSM transition has been run on all devices, so that an error in one particular device transition does not prevent the transition from being executed (and monitoring data being updated) on the remaining devices.