Remove extra code in old sgp40 (#5685)

This commit is contained in:
Jesse Hills 2023-11-07 12:38:52 +13:00 committed by GitHub
parent 43b36ac3c7
commit d141e1cd67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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