def prepare_template_reading_from_fogbench(self):
    ' Define the template file for fogbench readings '
    fogbench_template_path = os.path.join(os.path.expandvars('${FLEDGE_ROOT}'), 'data/{}'.format(self.FOGBENCH_TEMPLATE))
    with open(fogbench_template_path, 'w') as f:
        f.write(('[{"name": "%s", "sensor_values": [{"name": "sensor", "type": "number", "min": %d, "max": %d, "precision": 0}]}]' % (self.ASSET_NAME, self.SENSOR_VALUE, self.SENSOR_VALUE)))
    return fogbench_template_path
Define the template file for fogbench readings
def prepare_template_reading_from_fogbench(self):
    '  '
    fogbench_template_path = os.path.join(os.path.expandvars('${FLEDGE_ROOT}'), 'data/{}'.format(self.FOGBENCH_TEMPLATE))
    with open(fogbench_template_path, 'w') as f:
        f.write(('[{"name": "%s", "sensor_values": [{"name": "sensor", "type": "number", "min": %d, "max": %d, "precision": 0}]}]' % (self.ASSET_NAME, self.SENSOR_VALUE, self.SENSOR_VALUE)))
    return fogbench_template_path