From b7d69237679ea73f77b2f60473461023c9b227ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Tue, 20 Feb 2024 16:25:47 +0000 Subject: [PATCH] Update __init__.py --- esphome/components/lora/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/components/lora/__init__.py b/esphome/components/lora/__init__.py index a9b8203985..3881490a5c 100644 --- a/esphome/components/lora/__init__.py +++ b/esphome/components/lora/__init__.py @@ -69,8 +69,6 @@ async def to_code(config): def validate_mode(value): if not (value[CONF_OUTPUT]): raise cv.Invalid("Mode must be output") - if value[CONF_INPUT] and value[CONF_OUTPUT]: - raise cv.Invalid("Mode must be output") return value