mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Remove extra code in old sgp40 (#5685)
This commit is contained in:
@@ -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"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user