Optogenetic and thermogenetic tools have been limited to applications for single-state control of cellular processes. A single-component optogenetic tool was found to act as both a temperature sensor and a photoreceptor, enabling multi-state control of developmental signaling.