Files
esphome-dev/esphome/components/sgp40/sensor.py
T
2023-11-07 12:38:52 +13:00

9 lines
269 B
Python

import esphome.config_validation as cv
CODEOWNERS = ["@SenexCrenshaw"]
CONFIG_SCHEMA = cv.invalid(
"SGP40 is deprecated.\nPlease use the SGP4x platform instead.\nSGP4x supports both SPG40 and SGP41.\n"
" See https://esphome.io/components/sensor/sgp4x.html"
)