mirror of
https://github.com/esphome/esphome.git
synced 2025-02-11 23:48:17 +00:00
* Combine xiaomi_miscale and xiaomi_miscale2 * check if message contains impedance * auto detect scale version * remove xiaomi_miscale2 * fix lint errors * Apply suggestions from code review Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> * Apply suggestions from code review on old code * Fix clang-tidy warnings Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
6 lines
157 B
Python
6 lines
157 B
Python
import esphome.config_validation as cv
|
|
|
|
CONFIG_SCHEMA = cv.invalid(
|
|
"This platform has been combined into xiaomi_miscale. Use xiaomi_miscale instead."
|
|
)
|