Esphome i2c lcd1602 not work

Good time of day. I try to connect the I2C 1602 screen but it gives an error when compiling. Be advised that you may not have done so?

Code

esphome:
name: $hostname
platform: ESP8266
board: nodemcuv2
wifi:
ssid: $ssid
password: $password
fast_connect: True

Enable logging

logger:

Enable Home Assistant API

api:
password: ‘#########’

ota:
password: ‘##########’

i2c:
sda: D2
scl: D1

display:

  • platform: lcd_pcf8574
    dimensions: 16x2
    address: 0x27
    lambda: | -
    it.print(“Hello World!”);

binary_sensor:

  • platform: status
    name: “Online”
    dallas:

  • pin: 12
    update_interval: 60s

  • pin: 13
    update_interval: 58s
    sensor:

  • platform: dallas
    address: 0xE20416B31F39FF28
    name: “OPEN sensor”

  • platform: dallas
    address: 0xC20114403CD9AA28
    name: “CLOSE sensor”

  • platform: uptime
    name: $hostname Uptime Sensor

  • platform: dht
    pin: D2
    model: DHT22
    temperature:
    name: “Kitchen Temperature”
    humidity:
    name: “Kitchen Humidity”
    update_interval: 10s

switch:

  • platform: restart
    name: “kitchen modul Restart”
error

INFO Reading configuration /config/esphome/kitchen.yaml…
ERROR Error while reading config: Invalid YAML syntax:

while parsing a block collection
in “/config/esphome/kitchen.yaml”, line 29, column 3:
- platform: lcd_pcf8574
^
expected , but found ‘’
in “/config/esphome/kitchen.yaml”, line 30, column 5:
dimensions: 16x2
^