diff --git a/api/src/opentrons/hardware_control/modules/absorbance_reader.py b/api/src/opentrons/hardware_control/modules/absorbance_reader.py index ae53bee8411..e68b535c4bc 100644 --- a/api/src/opentrons/hardware_control/modules/absorbance_reader.py +++ b/api/src/opentrons/hardware_control/modules/absorbance_reader.py @@ -325,7 +325,7 @@ async def get_current_lid_status(self) -> AbsorbanceReaderLidStatus: """Get the Absorbance Reader's current lid status.""" await self._reader.get_lid_status() return self._reader.lid_status - + def _enter_error_state(self, error: Exception) -> None: self._error = str(error) if isinstance(error, AbsorbanceReaderDisconnectedError): diff --git a/api/src/opentrons/protocol_api/core/engine/module_core.py b/api/src/opentrons/protocol_api/core/engine/module_core.py index 45f7afda583..2c390949637 100644 --- a/api/src/opentrons/protocol_api/core/engine/module_core.py +++ b/api/src/opentrons/protocol_api/core/engine/module_core.py @@ -563,3 +563,10 @@ def open_lid(self) -> None: moduleId=self.module_id, ) ) + + def is_lid_on(self) -> bool: + """Returns True if the Absorbance Reader's lid is currently on the Reader slot.""" + abs_state = self._engine_client.state.modules.get_absorbance_reader_substate( + self.module_id + ) + return abs_state.is_lid_on