Skip to content

Commit

Permalink
Simplify some thermistor messages
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Sep 22, 2024
1 parent bccd9a6 commit 32a6caa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/lvmcryo/handlers/thermistor.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,12 @@ async def start_monitoring(self):

self.valve_handler.log.debug(
f"Thermistor {self.channel!r} has been active for more than "
f"{elapsed_active:.1f} seconds. Stopping thermistor monitoring."
f"{elapsed_active:.1f} seconds."
)

if self.close_valve:
self.valve_handler.log.debug(f"Closing valve {self.valve_handler.valve!r}.")
self.valve_handler.log.debug(
f"Closing valve {self.valve_handler.valve!r} "
"due to thermistor feedback."
)
await self.valve_handler.finish()

0 comments on commit 32a6caa

Please sign in to comment.