- added a trigger for multilevel values to write the state to file (temperature, luminescence)