Files
esphome-dev/esphome/components/sgp40/sensor.py
T
2022-05-19 12:47:33 +12:00

9 lines
285 B
Python

import esphome.config_validation as cv
CODEOWNERS = ["@SenexCrenshaw"]
CONFIG_SCHEMA = 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"
)