DHT11 sensor not loading

i have a DHT temp sensor connected to pin 4

it works perfect from the CL, but i cannot get the DHT sensor component to work, my entry in a file called temp.yaml

- platform: dht
  sensor: DHT11
  pin: 4
  monitored_conditions:
    - temperature
    - humidity