Skip to content

Commit acb394d

Browse files
authored
fix(api): wait for poll before awaiting tempdeck temperature (#8340)
1 parent 90b9c8d commit acb394d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/opentrons/hardware_control/modules/tempdeck.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ async def set_temperature(self, celsius: float) -> None:
131131
"""
132132
await self.wait_for_is_running()
133133
await self._driver.set_temperature(celsius=celsius)
134+
await self.wait_next_poll()
134135

135136
async def _wait():
136137
# Wait until we reach the target temperature.
@@ -162,6 +163,7 @@ async def await_temperature(self, awaiting_temperature: float) -> None:
162163
return
163164

164165
await self.wait_for_is_running()
166+
await self.wait_next_poll()
165167

166168
async def _await_temperature():
167169
if self.status == TemperatureStatus.HEATING:

0 commit comments

Comments
 (0)