Imperial researchers have programmed bacterial cells to react to changes in light and temperature with the help of synthetic cell machinery.
source https://www.lifetechnology.com/blogs/life-technology-science-news/lab-grown-cell-machinery-prompts-real-cells-to-sense-and-react-to-outside-cues