This is the first ESP device I am trying to get working
esphome:
name: "esp32-co2-test"
friendly_name: "esp32-co2-test"
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "XXXXXXXXXXXXX"
ota:
password: "XXXXXXXXXX"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32 Fallback Hotspot"
password: "EcM96MivK3GH"
captive_portal:
uart:
rx_pin: GPIO20
tx_pin: GPIO21
baud_rate: 9600
Sensor:
Platform: senseair
co2:
name: "esp32-co2-test"
Temperature:
name:"esp32-c02-temperature"
update_interval: 60s
Here is the error code when I try to upload
INFO Reading configuration /config/esphome/esp32-co2-test.yaml...
Failed config
Sensor: [source /config/esphome/esp32-co2-test.yaml:38]
Component not found: Sensor.
Platform: senseair
co2:
name: esp32-co2-test
Temperature: name:"esp32-c02-temperature"
update_interval: 60s
Any help would be greatly appreciated.