(self, event_data)
Triggered when a state is exited.
Triggered when a state is exited.
Triggered when a state is exited .
def exit(self, event_data):
        """ Triggered when a state is exited. """
        _LOGGER.debug("%sExiting state %s. Processing callbacks...", event_data.machine.name, self.name)
        event_data.machine.callbacks(self.on_exit, event_data)
        _LOGGER.info("%sFinished processing state %s exit callbacks.", event_data.machine.name, self.name)
def exit ( self , event_data ) : _LOGGER . debug ( "%sExiting state %s. Processing callbacks..." , event_data . machine . name , self . name ) event_data . machine . callbacks ( self . on_exit , event_data ) _LOGGER . info ( "%sFinished processing state %s exit callbacks." , event_data . machine . name , self . name )