Add [Adafruit_Sensor.h](https://github.com/adafruit/Adafruit_Sensor) in to the DHT sensor library. To avoid the issue of beginners.