code: def get_device_status(self, t):
          '''get device status at a given time t (within self.monitor_period)'''
          data = {}
          for name, (func, _, _) in self.addons.iteritems():
              data[name] = func(t)
          return datf get_device_status(self, t):
          '''get device status at a given time t (within self.monitor_period)'''
          data = {}
          for name, (func, _, _) in self.addons.iteritems():
              data[name] = func(t)
          return data
docs: get device status at a given time t (within self.monitor_period)