mirror of
https://github.com/esphome/esphome.git
synced 2025-02-24 13:58:14 +00:00
* refactored xiaomi sensors * fix lint * fixed and added tests * fix namespace * LYWSD02 has no battery level * fixed enum * fix * fix case * fix spaces in empty line... * inform users of old sensors about the change
4 lines
119 B
Python
4 lines
119 B
Python
import esphome.config_validation as cv
|
|
|
|
CONFIG_SCHEMA = cv.invalid("This sensor has been renamed to xiaomi_hhccjcy01")
|