Fire and light sensor