esphome:
  name: esphome-web-883944
  friendly_name: ESPHome EG Bad
  min_version: 2024.11.0
  name_add_mac_suffix: false

esp32:
  board: esp32dev
  framework:
    type: esp-idf

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "KesYkgu82isVYLpso+Vs+p6ET4eUoPMPWVINu4U/hkY="

# Allow Over-The-Air updates
ota:
- platform: esphome

#ota:
#  - platform: esphome
#    password: "7f091a0349c95a2cf0cac68c1a6c1350"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

i2c:
  sda: GPIO21
  scl: GPIO22
  scan: true
  id: bus_a
  #frequency: 50kHz

sensor:
  - platform: scd4x
    #address: 0x62
    update_interval: 10s
    co2:
      name: "CO2"
    temperature:
      name: "Temperature"
    humidity:
      name: "Humidity"

