'source': 'loaded',
'dest': 'loaded_running',
'after': ['run_actions', 'finish'],
- # if a child, like loaded_no_actions, has no transitions, then it is
- # bubbled to the parent, and we don't want that.
+ # if a child, like loaded_no_actions, has no transitions, then it
+ # is bubbled to the parent, and we don't want that.
'conditions': ['is_loaded']
},
{
return [1, 1, 1, 1]
elif self.is_loaded_protecting_repeat():
return [*self.custom_color, 100/255]
+ elif self.is_loaded_running():
+ return [*self.custom_color, 100/255]
elif self.is_loaded(allow_substates=True):
return [*self.custom_color, 1]
elif self.is_failed():
for self.current_action in self.actions:
if self.parent.keep_running(self, start_time):
self.list_actions()
- self.current_action.run()
+ self.current_action.run(start_time)
self.list_actions(last_action_finished=True)
self.parent.finished_running(self, start_time)