Thermostate with lcd display

Hello, I can’t get my display to show the target temperature, here is my code:

esphome:
  name: termostato
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: "aa"
  password: "aa"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "aa"
    password: "aaa"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

switch:
  - platform: gpio
    name: "relay_termostato"
    pin: D2
    id: heat


sensor:
  - platform: dht
    model: DHT11
    pin: D3
    temperature:
      id: "temp"
    update_interval: 5s

i2c:
  sda: D6
  scl: D7
  
display:
  - platform: lcd_pcf8574
    dimensions: 16x2
    address: 0x27
    lambda: |
         it.printf(?????);
         
         
    
climate:
  - platform: thermostat
    internal: false
    id: therm
    name: Termostato
    sensor: temp
    default_target_temperature_low: 19.444 °C
    hysteresis: 0.1
    heat_action:
      switch.turn_on: heat
    idle_action:
      switch.turn_off: heat

I don’t think this will work.

Yes, i put the (?) because i dont know what to do in there

You can get the target temperature from a lambda call, just like the docs say Climate Component — ESPHome