deprecate temperatureEvent