DHT Temp sensor doesent appear in heat_control

Hi All,

Just after a little help with my config, My DHT Temp sensor doesent appear to be reporting the temp in the heat_control platform does any one ave nay pointer to help me out.

Thanks in adavnce

switch:
- platform: rpi_gpio
  ports:
    20: Port-20
    21: Port-21
  invert_logic: true
- platform: command_line
  switches:
    Study_Llight:
      oncmd: codesend 16405
      offcmd: codesend 16404

sensor:
  platform: dht
  sensor: DHT11
  pin: 6
  name: Study
  monitored_conditions:
    - temperature

thermostat:
  platform: heat_control
  name: Study
  heater: switch.rpi_gpio_20
  target_sensor: sensor.dht
  min_temp: 17
  max_temp: 30
  target_temp: 21

Hi!

Have you checked the entity id of the DHT sensor in dev tools section for entities in the gui, to make sure you assign the correct sensor for the heater?