Unit CO2/CO2L mainly uses the SCD40/SCD41 CO2 and temperature/humidity sensors.

Both sensors support ESPHome, making it easy to integrate with Home Assistant.
You can also refer to ESPHome for the latest configuration:
Enable the I²C component in the ESPHome configuration:
# Example configuration entry for ESP32
i2c:
sda: GPIOXX
scl: GPIOXX
scan: trueThe GPIO pins vary depending on the main controller you use. For example, if you use Atom Lite as the main controller:
# I2C Bus on Grove Port (HY2.0-4P)
i2c:
sda: GPIO26
scl: GPIO32Example configuration for Unit CO2/CO2L:
sensor:
- platform: scd4x
co2:
name: "CO2"
temperature:
name: "Temperature"
humidity:
name: "Humidity"After adding it to the Dashboard, you can view the sensor data in Home Assistant.
