def __init__(self, brewer): Handler.__init__(self, brewer, __name__) # Indication if we initialized correctly or not self._initialized = False # Controller running or not self._running = False
def __init__(self, brewer): Handler.__init__(self, brewer, __name__) # Map of all the components self._components = {} # self._errors = {}
def __init__(self, brewer): Handler.__init__(self, brewer, __name__) # Date of last update self._lastDate = datetime.datetime.now() # Number of notifications sent today self._notificationsSent = 0 # Instantiate push notifications handler self._pushNotifications = PushNotifications( self.brewer.config.pushoverUserToken, self.brewer.config.pushoverAppToken) # Handler message, used to notify the user that some errors ocurred self._errorNotificationMessage = None
def __init__(self, brewer): Handler.__init__(self, brewer, __name__)
def __init__(self, brewer): Handler.__init__(self, brewer, __name__) # Time elapsed since last sample was recorded self._elapsedSec = self.SAMPLE_PERIOD_SEC
def __init__(self, brewer): Handler.__init__(self, brewer, __name__) # Elapsed time since last session cleanup self._timeElapsedSec = 0
def __init__(self, brewer): Handler.__init__(self, brewer, __name__) # Indication of a warning has been sent for a self._warningSent = {}
def __init__(self, brewer): Handler.__init__(self, brewer, __name__) self._dbx = None