Сonnect the SHTCX sensor to HA

Hello, everyone. I can’t connect the SHTCX sensor to HA. The sensor itself is connected to NodeMCU V3 to contacts D1,D2. The syntax swears that an i2C component is needed for this sensor. What am I doing wrong, please tell me.

captive_portal:
sensor:
  - platform: shtcx
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    address: 0x70
    update_interval: 60s

Hi,
you must configure the i2C port and declare it in the esp configuration.

i2c:
  sda: 4 #D2 ?
  scl: 5 #D1 ?
  scan: true
  id: bus_a