Skip to content

Commit

Permalink
slightly delay this check
Browse files Browse the repository at this point in the history
CamDavidsonPilon committed Sep 26, 2024
1 parent dc4253e commit 31d4e47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pioreactor/automations/temperature/thermostat.py
Original file line number Diff line number Diff line change
@@ -41,6 +41,8 @@ def __init__(self, target_temperature: float | str, **kwargs) -> None:

self.set_target_temperature(target_temperature)

def on_init_to_ready(self):
self.super().on_init_to_ready()
if not is_pio_job_running("stirring"):
self.logger.warning("It's recommended to have stirring on when using the thermostat.")

0 comments on commit 31d4e47

Please sign in to comment.