Adding 2 events for temperature sensors: above and below thresholds.