Skip to content

Commit 31d4e47

Browse files
slightly delay this check
1 parent dc4253e commit 31d4e47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pioreactor/automations/temperature/thermostat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def __init__(self, target_temperature: float | str, **kwargs) -> None:
4141

4242
self.set_target_temperature(target_temperature)
4343

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

0 commit comments

Comments
 (0)