mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[code-quality] Tidy up some duplicate CONFIG_SCHEMA assignments (#7106)
This commit is contained in:
		| @@ -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" | ||||||
| ) | ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user