(self, event_data)
Triggered when a state is entered.
Triggered when a state is entered.
Triggered when a state is entered .
def enter(self, event_data):
        """ Triggered when a state is entered. """
        _LOGGER.debug("%sEntering state %s. Processing callbacks...", event_data.machine.name, self.name)
        event_data.machine.callbacks(self.on_enter, event_data)
        _LOGGER.info("%sFinished processing state %s enter callbacks.", event_data.machine.name, self.name)
def enter ( self , event_data ) : _LOGGER . debug ( "%sEntering state %s. Processing callbacks..." , event_data . machine . name , self . name ) event_data . machine . callbacks ( self . on_enter , event_data ) _LOGGER . info ( "%sFinished processing state %s enter callbacks." , event_data . machine . name , self . name )