import logging logger = logging.getLogger('AppDaemon.Perimeter') logger.info('Imported statemachine') class StateMachine: ...