changed event type in gas sensor to follow proper format