Temperature and Humidity sensor

Hey, is there any way to plug in a DHT11 sensor onto the pins of the raspberry pi and display the temperature and humidity onto a entity on home assistant?