def get_output_sensors(self):
data = dict()<EOL>found_sensors = get_sensors()<EOL>if len(found_sensors) == <NUM_LIT:0>:<EOL><INDENT>raise Exception("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>for sensor in found_sensors:<EOL><INDENT>data[sensor.name] = self.format_sensor(sensor)<EOL>data["<STR_LIT>".format(sensor.name)] = self.format_sensor_bar(sensor)<EOL><DEDENT>data['<STR_LIT>'] = max((s.current for s in found_sensors))<EOL>return {<EOL>'<STR_LIT>': self.format.format(**data),<EOL>'<STR_LIT>': self.get_urgent(found_sensors),<EOL>'<STR_LIT>': self.color if not self.dynamic_color else None,<EOL>}<EOL>
Build the output using lm_sensors. Requires sensors Python module (see docs).