Class definition for DHT11 component (temperature sensor)