From 0ca06afa370c12abe15e5e8eb29544b809b79718 Mon Sep 17 00:00:00 2001 From: brambo123 Date: Fri, 17 Jan 2025 17:22:34 +0100 Subject: [PATCH] [uart] fix Arduino framework check --- esphome/components/uart/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/uart/__init__.py b/esphome/components/uart/__init__.py index ef22337f63..3361c8dcdb 100644 --- a/esphome/components/uart/__init__.py +++ b/esphome/components/uart/__init__.py @@ -128,7 +128,7 @@ def validate_flow_control_support(config): raise cv.Invalid( "ESP32 RS485 UART Flow Control requires Arduino framework version 2.0.8 or higher." ) - elif not CORE.is_esp32: + elif not CORE.is_esp32 and CONF_FLOW_CONTROL_PIN in config: raise cv.Invalid("Hardware does not support RS485 flow control.") return config