Skip to content

Commit

Permalink
Change: Log message for new level/temperature is simplified.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersulyok committed Aug 23, 2024
1 parent 399eacb commit a67e809
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/smfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,7 @@ def run(self) -> None:
if current_level != self.last_level:
self.last_level = current_level
self.set_fan_level(current_level)
self.log.msg(self.log.LOG_INFO, f'{self.name}: new level > {current_temp:.1f}C > '
f'[T:{self.min_temp+(current_gain*self.temp_step):.1f}C/L:{current_level}%]')
self.log.msg(self.log.LOG_INFO, f'{self.name}: new fan level > {current_level}%/{current_temp:.1f}C')

def print_temp_level_mapping(self) -> None:
"""Print out the user-defined temperature to level mapping value in log DEBUG level."""
Expand Down

0 comments on commit a67e809

Please sign in to comment.