mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
[code-quality] Tidy up some duplicate CONFIG_SCHEMA assignments (#7106)
This commit is contained in:
parent
43b818f2b1
commit
cfb20abb9f
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
|
|
||||||
CONFIG_SCHEMA = CONFIG_SCHEMA = cv.invalid(
|
CONFIG_SCHEMA = cv.invalid(
|
||||||
"The ade7953 sensor component has been renamed to ade7953_i2c."
|
"The ade7953 sensor component has been renamed to ade7953_i2c."
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@ import esphome.config_validation as cv
|
||||||
|
|
||||||
CODEOWNERS = ["@latonita"]
|
CODEOWNERS = ["@latonita"]
|
||||||
|
|
||||||
CONFIG_SCHEMA = CONFIG_SCHEMA = cv.invalid(
|
CONFIG_SCHEMA = cv.invalid(
|
||||||
"The bmp3xx sensor component has been renamed to bmp3xx_i2c."
|
"The bmp3xx sensor component has been renamed to bmp3xx_i2c."
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@ import esphome.config_validation as cv
|
||||||
|
|
||||||
CODEOWNERS = ["@latonita"]
|
CODEOWNERS = ["@latonita"]
|
||||||
|
|
||||||
CONFIG_SCHEMA = CONFIG_SCHEMA = cv.invalid(
|
CONFIG_SCHEMA = cv.invalid(
|
||||||
"The ens160 sensor component has been renamed to ens160_i2c."
|
"The ens160 sensor component has been renamed to ens160_i2c."
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
|
|
||||||
CONFIG_SCHEMA = CONFIG_SCHEMA = cv.invalid(
|
CONFIG_SCHEMA = cv.invalid(
|
||||||
"The kalman_combinator sensor has moved.\nPlease use the combination platform instead with type: kalman.\n"
|
"The kalman_combinator sensor has moved.\nPlease use the combination platform instead with type: kalman.\n"
|
||||||
"See https://esphome.io/components/sensor/combination.html"
|
"See https://esphome.io/components/sensor/combination.html"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue