add i2c sensor class