diff --git a/esphome/components/uart/__init__.py b/esphome/components/uart/__init__.py index 7a8e9744f3..ef22337f63 100644 --- a/esphome/components/uart/__init__.py +++ b/esphome/components/uart/__init__.py @@ -132,6 +132,7 @@ def validate_flow_control_support(config): raise cv.Invalid("Hardware does not support RS485 flow control.") return config + def validate_invert_esp32(config): if ( CORE.is_esp32